Ejemplo n.º 1
0
        void OnDisable()
        {
#if !OLD_UNDO
            Undo.undoRedoPerformed -= CurvyEditorUtility.OnUndoRedoPerformed;
#endif
            Toolbar.Release();
            EditorApplication.hierarchyWindowItemOnGUI -= OnHierarchyWindowItemOnGUI;
        }
Ejemplo n.º 2
0
        void OnDisable()
        {
#if !OLD_UNDO
            Undo.undoRedoPerformed -= CurvyEditorUtility.OnUndoRedoPerformed;
#endif
            Toolbar.Release();
            EditorApplication.hierarchyWindowItemOnGUI -= OnHierarchyWindowItemOnGUI;
            if (Tools.current == Tool.None)
            {
                Tools.current = Tool.Move;
            }
        }
Ejemplo n.º 3
0
 void OnDisable()
 {
     Toolbar.Release();
 }