ClearArray()
Remove all elements from the array.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public void ClearArray()
Remarks
This is equivalent to setting SerializedProperty.arraySize to 0.
Additional Resources: SerializedProperty.isArray.