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