Ejemplo n.º 1
0
 /// <summary>
 /// Callback for when the ApplicationLauncher button is clicked.
 /// </summary>
 private void configGuiEnable()
 {
     if (configGUI == null)
     {
         configGUI = this.gameObject.AddOrGetComponent <ConfigurationGUI>();
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Callback for when the ApplicationLauncher button is clicked.  Can also be called from within the GUI itself from a 'Close' button.
 /// </summary>
 internal void configGuiDisable()
 {
     if (configGUI != null)
     {
         GameObject.Destroy(configGUI);
         configGUI = null;
     }
     if (configAppButton != null && configAppButton.toggleButton != null)
     {
         configAppButton.toggleButton.Value = false;
     }
 }