コード例 #1
0
 private void KillButton()
 {
     HailerGUI.CloseAllGUIs();
     if (button != null && ApplicationLauncher.Instance != null)
     {
         ApplicationLauncher.Instance.RemoveModApplication(button);
         button = null;
     }
 }
コード例 #2
0
        private void KillButton()
        {
            HailerGUI.CloseAllGUIs();
            toolbarControl.OnDestroy();
            Destroy(toolbarControl);
#if false
            if (button != null && ApplicationLauncher.Instance != null)
            {
                ApplicationLauncher.Instance.RemoveModApplication(button);
                button = null;
            }
#endif
        }
コード例 #3
0
 private void OnFalse()
 => HailerGUI.CloseAllGUIs();