Ejemplo n.º 1
0
    /// <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>(UGUITools.GetTypeName <T>(), obj, cb, editButton, options);
    }