Esempio n. 1
0
 // Update is called once per frame
 void FixedUpdate()
 {
     if (enemyAI.TargetVisible == null)
     {
         enemyAI.ScanTargetInLongAttackArea();
     }
     else
     {
         enemyAI.CheckTargetStillVisible_InLongArea();
         // enemyAI.Face2Target();
         enemyAI.LookAtTarget();
         enemyAI.CheckShootTime();
         enemyAI.RememberTargetPos();
         //   enemyAI.Face2Face();
     }
 }