SerializedProperty.InsertArrayElementAtIndex

切换到手册
public void InsertArrayElementAtIndex (int index);

描述

Insert an empty element at the specified index in the array.

The value of the inserted element is undefined and should be explicitly set after calling this function. See Also: isArray.