예제 #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));
 }