示例#1
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();
     }
 }