示例#1
0
 //4
 private void AddToCommands(BotCommand botCommand)
 {
     botCommands.Add(botCommand);
     //5
     uiManager.InsertNewText(botCommand.ToString());
 }
示例#2
0
 private void AddNewCommand(BotCommand botCommand)
 {
     undoStack.Clear();
     AddToCommands(botCommand);
 }