SerializedProperty.arraySize

public int arraySize;

Description

The number of elements in the array. If the SerializedObject contains multiple objects it will return the smallest number of elements. So it is always possible to iterate through the SerializedObject and only get properties found in all objects.

See Also: isArray.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答