public static SerializedProperty NewArrayItem <T>(this IsEditor <T> editor, Expression <Func <T, object> > field) where T : class { var property = editor.GetProperty(field); property.InsertArrayElementAtIndex(0); return(property.GetArrayElementAtIndex(0)); }
public override int GetHashCode() { unchecked { return((IsEditor.GetHashCode() * 397) ^ (int)BuildTarget); } }
public static IEnumerable <SerializedProperty> ForEach <T>(this IsEditor <T> editor, Expression <Func <T, object> > field) where T : class { return(editor.GetProperty(field).ForEach()); }