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