void OnGUI() { if (window != null) { window.OnGUI(); // Disable app if window was closed if (!window.IsVisible() && _appLauncherButton.toggleButton.CurrentState == UIRadioButton.State.True) { _appLauncherButton.SetFalse(); } } }
void OnGUI() { window.SetVisible(TACMenuAppLToolBar.GuiVisible); window?.OnGUI(); }