示例#1
0
        void OnGUI()
        {
            if (window != null)
            {
                window.OnGUI();

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