示例#1
0
        /// <inheritdoc/>
        public void Add()
        {
            int newIndex = _arrayProperty.arraySize;

            ++_arrayProperty.arraySize;
            SerializedPropertyUtility.ResetValue(_arrayProperty.GetArrayElementAtIndex(newIndex));
        }
示例#2
0
 /// <inheritdoc/>
 public void Insert(int index)
 {
     _arrayProperty.InsertArrayElementAtIndex(index);
     SerializedPropertyUtility.ResetValue(_arrayProperty.GetArrayElementAtIndex(index));
 }