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