/// <summary> /// <para>Returns the element at the specified index in the array.</para> /// </summary> /// <param name="index"></param> public SerializedProperty GetArrayElementAtIndex(int index) { SerializedProperty serializedProperty = this.Copy(); if (serializedProperty.GetArrayElementAtIndexInternal(index)) { return(serializedProperty); } return((SerializedProperty)null); }
// Returns the element at the specified index in the array. public SerializedProperty GetArrayElementAtIndex(int index) { SerializedProperty prop = Copy(); if (prop.GetArrayElementAtIndexInternal(index)) { return(prop); } else { return(null); } }