protected virtual void OnDisable()
 {
     mGameViewEventCatcher.OnDisable();
     CinemachineDebug.OnGUIHandlers -= OnGUI;
     if (CinemachineSettings.CinemachineCoreSettings.ShowInGameGuides)
     {
         InspectorUtility.RepaintGameView();
     }
 }
Пример #2
0
        protected virtual void OnDisable()
        {
            m_GameViewEventCatcher.OnDisable();
            CinemachineDebug.OnGUIHandlers -= OnGUI;
            if (CinemachineSettings.CinemachineCoreSettings.ShowInGameGuides)
            {
                InspectorUtility.RepaintGameView();
            }

#if UNITY_2021_2_OR_NEWER
            CinemachineSceneToolUtility.UnregisterTool(typeof(TrackedObjectOffsetTool));
#endif
        }
 protected virtual void OnDisable()
 {
     mGameViewEventCatcher.OnDisable();
     CinemachineDebug.OnGUIHandlers -= OnGUI;
     InspectorUtility.RepaintGameView(Target);
 }