Ejemplo n.º 1
0
    public static UtilityBehaviourAI Initialize(TurrelEnemy enemy)
    {
        MovementController ctr = new TurrelEnemyController(enemy);

        instance.AddController(ctr);

        return(instance);
    }
Ejemplo n.º 2
0
 public TurrelEnemyController(TurrelEnemy e) : base(e)
 {
     this.shooter   = e;
     this.transform = e.transform;
 }