Esempio n. 1
0
        void OnDisable()
        {
            m_CurveEditor.OnDisable();

            EditorApplication.update -= Update;

            EditorPrefs.SetBool("AudioSourceExpanded3D", m_Expanded3D);
        }
Esempio n. 2
0
 void OnDisable()
 {
     m_CurveEditor.OnDisable();
     if (s_SharedMinMaxCurveEditor == this)
     {
         s_SharedMinMaxCurveEditor = null;
     }
 }
Esempio n. 3
0
        void OnDisable()
        {
            m_CurveEditor.OnDisable();

            DestroyExtensionEditors();

            Undo.undoRedoPerformed   -= UndoRedoPerformed;
            EditorApplication.update -= Update;

            EditorPrefs.SetBool("AudioSourceExpanded3D", m_Expanded3D);
        }
 void OnDisable()
 {
     m_CurveEditor.OnDisable();
     if (s_SharedCurveEditor == this)
     {
         s_SharedCurveEditor = null;
     }
     else if (!this.Equals(s_SharedCurveEditor))
     {
         throw new ApplicationException("s_SharedCurveEditor does not equal this");
     }
 }
        public void OnDisable()
        {
            s_AnimationWindows.Remove(this);

            if (m_CurveEditor != null)
            {
                m_CurveEditor.curvesUpdated -= SaveChangedCurvesFromCurveEditor;
                m_CurveEditor.OnDisable();
            }

            if (m_DopeSheet != null)
            {
                m_DopeSheet.OnDisable();
            }

            m_State.OnDisable();
        }
Esempio n. 6
0
        public void OnDisable()
        {
            s_AnimationWindows.Remove(this);

            if (m_CurveEditor != null)
            {
                m_CurveEditor.curvesUpdated -= SaveChangedCurvesFromCurveEditor;
                m_CurveEditor.OnDisable();
            }

            if (m_DopeSheet != null)
            {
                m_DopeSheet.OnDisable();
            }

            m_State.OnDisable();
            ShortcutIntegration.instance.contextManager.DeregisterToolContext(m_AnimationShortcutContex);
        }
Esempio n. 7
0
        public void OnDisable()
        {
            s_AnimationWindows.Remove(this);

            if (m_CurveEditor != null)
            {
                m_CurveEditor.curvesUpdated -= SaveChangedCurvesFromCurveEditor;
                m_CurveEditor.OnDisable();
            }

            if (m_DopeSheet != null)
            {
                m_DopeSheet.OnDisable();
            }

            m_State.OnDisable();

            EditorApplication.globalEventHandler -= HandleGlobalHotkeys;
        }
 public void OnDisable()
 {
     m_Editor.OnDisable();
     Undo.undoRedoPerformed -= UndoRedoPerformed;
 }
 public void OnDisable()
 {
     m_CurveEditor.OnDisable();
     Undo.undoRedoEvent -= UndoRedoPerformed;
 }