コード例 #1
0
 public void Click2()
 {
     commandConsole.screenAnimators[0].SetBool("MenuOpen", true);
     commandConsole.screenAnimators[1].SetBool("MenuButtonsActive", true);
     commandConsole.menuOpen = true;
     commandConsole.TriggerText(text);
 }
コード例 #2
0
 public void Click()
 {
     if (commandConsole.areYouSureOpen)
     {
         if (answer)
         {
             commandConsole.checkAnswer();
         }
         else
         {
             commandConsole.selectedAnswer = null;
             commandConsole.TriggerText();
         }
         commandConsole.areYouSureOpen = false;
     }
     else if (answer)
     {
         commandConsole.textManager.next();
     }
     else if (!answer)
     {
         commandConsole.closeMenu();
     }
 }