Concrete actor class, also called receiver, it is called by the command class.
Inheritance: MonoBehaviour, IMotion
Exemplo n.º 1
0
 public override void Undo() => MotionEntity.Move(-Amount);
Exemplo n.º 2
0
 public override void Execute() => MotionEntity.Move(Amount);