void OnEnable() { instance = this; hierarchyGUI.OnEnable(); controlSchemes.OnEnable(hierarchyGUI); gamepadProfilesWindow.OnEnable(hierarchyGUI); EditorApplication.playModeStateChanged += OnPlayStateChanged; ConvertUnityInputManager.ShowStartupWarning(); }
void OnEnable() { instance = this; selections = new Selection[2]; for (int i = 0; i < 2; i++) { selections[i] = new Selection(); } ResetSelections(); ConvertUnityInputManager.ShowStartupWarning(); controlSchemes.OnEnable(); EditorApplication.playModeStateChanged += OnPlayStateChanged; }