Ejemplo n.º 1
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();
        }
Ejemplo n.º 2
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);
        }
Ejemplo n.º 3
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;
        }