Esempio n. 1
0
 public void OnDisable()
 {
     s_Instance = null;
     ModuleLoaderCore.instance.ModulesLoaded -= TryGetModules;
     ToolManager.activeToolChanged           -= OnActiveToolChanged;
     SceneView.duringSceneGui           -= OnSceneGUI;
     Selection.selectionChanged         -= OnSelectionChanged;
     EditorOnlyEvents.onSimulationStart -= OnSimulationStart;
 }
Esempio n. 2
0
 void Awake()
 {
     s_Instance = this;
 }