Inheritance: MonoBehaviour
コード例 #1
0
 public ColorCommand(Cameleon player, Color newColor)
 {
     _Player   = player;
     _OldColor = _Player._Render.color;
     _NewColor = newColor;
 }
コード例 #2
0
 public MoveCommand(Cameleon player, Vector3 direction)
 {
     _Player = player;
     _Delta  = direction;
 }