Ejemplo n.º 1
0
 public ForwardMovementLogic(GameObject enemy) : base(enemy)
 {
     rotator = Utils.Utils.GetComponentOrCreateIfNotExists <Rotator>(enemy);
 }
Ejemplo n.º 2
0
 public ZigZagLogic(GameObject enemy) : base(enemy)
 {
     rotator = Utils.Utils.GetComponentOrCreateIfNotExists <Rotator>(enemy);
 }