Exemplo n.º 1
0
 public override void Execute(Transform UICanvas, Command command)
 {
     UICanvas.gameObject.SetActive(!UICanvas.gameObject.activeSelf);
 }
Exemplo n.º 2
0
 //Move and maybe save command
 public abstract void Execute(Transform boxTrans, Command command);
Exemplo n.º 3
0
 public override void Execute(Transform boxTrans, Command command)
 {
     InputHandler.shouldStartReplay = true;
 }
Exemplo n.º 4
0
 //Called when we press a key
 public override void Execute(Transform boxTrans, Command command)
 {
     //Nothing will happen if we press this key
 }