public void OnDisable()
        {
            brushModule.OnDisable();
            splineModule.OnDisable();
            interactionModule.OnDisable();
            containerModule.OnDisable();

            // unsubscribe from scene gui changes
            SceneView.duringSceneGui -= OnSceneGUI;
        }
Esempio n. 2
0
        public void OnDisable()
        {
            brushModule.OnDisable();
            splineModule.OnDisable();
            interactionModule.OnDisable();
            containerModule.OnDisable();

            // unsubscribe from scene gui changes
            SceneView.duringSceneGui -= OnSceneGUI;

            // unsubscribe to play mode state changes
            EditorApplication.playModeStateChanged -= OnPlayModeStateChanged;
        }