protected virtual void OnDisable() { mGameViewEventCatcher.OnDisable(); CinemachineDebug.OnGUIHandlers -= OnGUI; if (CinemachineSettings.CinemachineCoreSettings.ShowInGameGuides) { InspectorUtility.RepaintGameView(); } }
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); }