public ObjectListControl MakeRemovable(IconButton icon, Action <IList, int> callback = null) { MakeItemButton(icon, Remove, Color.white); _customRemove = callback; return(this); }
public ObjectListControl MakeEditable(IconButton icon, Action <IList, int> callback = null) { MakeItemButton(icon, Edit, Color.white); _customEdit = callback; return(this); }
public DictionaryControl MakeEditable(IconButton icon, Action <IEditableDictionary, string> callback = null) { MakeItemButton(icon, Edit, Color.white); _customEdit = callback; return(this); }
public ObjectListControl MakeAddable(IconButton icon, Action <IList> callback = null) { MakeHeaderButton(icon, Add, Color.white); _customAdd = callback; return(this); }
public DictionaryControl MakeAddable(IconButton icon, GUIContent label, Action <IEditableDictionary, string> callback = null) { MakeHeaderButton(icon, new AddPopup(new AddItemContent(this), label), Color.white); _customAdd = callback; return(this); }
public PropertyListControl MakeEditable(IconButton icon, Action <SerializedProperty, int> callback = null) { MakeItemButton(icon, Edit, Color.white); _customEdit = callback; return(this); }
public PropertyListControl MakeAddable(IconButton icon, Action <SerializedProperty> callback = null) { MakeHeaderButton(icon, Add, Color.white); _customAdd = callback; return(this); }
public DictionaryControl MakeRemovable(IconButton icon, Action <IEditableDictionary, string> callback = null) { MakeItemButton(icon, Remove); _customRemove = callback; return(this); }
public PropertyListControl MakeRemovable(IconButton icon, Action <SerializedProperty, int> callback = null) { MakeItemButton(icon, Remove); _customRemove = callback; return(this); }