void OnDisable() { UpdateSelection(); UnityEditor.Undo.undoRedoPerformed -= OnUndoRedoPerformed; PreviewTextureManager.CleanUp(); Reset(); }
void OnDisable() { UpdateSelection(); UnityEditor.Undo.undoRedoPerformed -= OnUndoRedoPerformed; PreviewTextureManager.CleanUp(); Reset(); ChiselEditGeneratorTool.OnEditSettingsGUI = null; ChiselEditGeneratorTool.CurrentEditorName = null; Tools.hidden = false; }
void OnDisable() { UpdateSelection(); UnityEditor.Undo.undoRedoPerformed -= OnUndoRedoPerformed; PreviewTextureManager.CleanUp(); Reset(); Tools.hidden = false; ToolManager.activeToolChanged -= OnToolModeChanged; ShutdownInspector(); }
void OnDisable() { PreviewTextureManager.CleanUp(); Reset(); }