예제 #1
0
 public InputAction(List<Keys> _KeysToWatchOn, Command _Command)
 {
     this.keysToWatchOn = _KeysToWatchOn;
     this.command = _Command;
 }
예제 #2
0
 public int getCommandIndex(Command command)
 {
     return scheduledCommands.IndexOf(command);
 }
예제 #3
0
 public void removeCommand(Command command)
 {
     removeCommand(getCommandIndex(command));
 }
예제 #4
0
 public void addCommand(Command command)
 {
     scheduledCommands.Add(command);
 }