Freeze() public method

public Freeze ( bool newVal ) : void
newVal bool
return void
コード例 #1
0
ファイル: DelegateDialog.cs プロジェクト: kevin-ye/KOS
 public void DrawConfirm(int windowID)
 {
     if (invoked)
     {
         GUILayout.Label(message);
         for (int bNum = 0; bNum < options.Count; bNum++)
         {
             if (GUILayout.Button(options[bNum]))
             {
                 actions[bNum](parent);
                 invoked = false;
                 parent.Freeze(false);
                 GUI.FocusWindow(parent.WindowID);
             }
         }
     }
 }
コード例 #2
0
ファイル: KOSTextEditPopup.cs プロジェクト: vincentBenet/KOS
 protected static void DelegateNoSaveExit(KOSTextEditPopup me)
 {
     me.Freeze(false);
     me.Close();
 }
コード例 #3
0
ファイル: KOSTextEditPopup.cs プロジェクト: KSP-KOS/KOS
 protected static void DelegateSaveExit(KOSTextEditPopup me)
 {
     me.SaveContents();
     me.Freeze(false);
     me.Close();
 }