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