ClearArray()
Remove all elements from the array.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public void ClearArray()
Remarks
This is equivalent to setting SerializedProperty.arraySize to 0.
Additional Resources: SerializedProperty.isArray.