/// <summary> /// Draw a button + object selection combo filtering specified types. /// </summary> static public void Draw <T> (T obj, OnSelectionCallback cb, bool editButton, params GUILayoutOption[] options) where T : Object { Draw <T>(NGUITools.GetTypeName <T>(), obj, cb, editButton, options); }
static public void Draw <T>(T obj, OnSelectionCallback cb, OnSearchCallback sf, params GUILayoutOption[] options) where T : MonoBehaviour { DrawBase <T>(GetName <T>(), obj, cb, sf, options); }
/// <summary> /// Draw a button + object selection combo filtering specified types. /// </summary> static public void Draw <T> (T obj, OnSelectionCallback cb, params GUILayoutOption[] options) where T : MonoBehaviour { Draw <T>(NGUITools.GetName <T>(), obj, cb, options); }
/// <summary> /// Draw a button + object selection combo filtering specified types. /// </summary> static public void Draw <T> (string buttonName, T obj, OnSelectionCallback cb, params GUILayoutOption[] options) where T : MonoBehaviour { DrawBase <T>(buttonName, obj, cb, null, options); }