CountRemaining()
Count remaining visible properties.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public int CountRemaining()
Returns
Type | Description |
|---|---|
| int |
Remarks
This is useful for allocating height for drawing this property and all the following ones. Note that calling this method will move the property forward to the end of the SerializedObject. If this is not the desired behavior either use SerializedProperty.Copy to make a copy of the current property before calling this method or SerializedProperty.Reset to reset the property after calling this method.
Additional Resources: SerializedProperty.hasVisibleChildren, SerializedProperty.CountInProperty