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