Esempio n. 1
0
 public override void Update()
 {
     if (Papuan.TargetEnemy != null)
     {
         Papuan.Move((Papuan.TargetEnemy.transform.position - Papuan.transform.position).normalized);
     }
 }
Esempio n. 2
0
 public override void Update()
 {
     if (Papuan.TargetSlote == null)
     {
         Papuan.Move((Papuan.TargetSlote.transform.position - Papuan.transform.position).normalized);
     }
     else
     {
         Papuan.Move((Papuan.TargetGate.transform.position - Papuan.transform.position).normalized);
     }
 }
 public override void Update()
 {
     Papuan.Move((Papuan.TargetSlote.transform.position - Papuan.transform.position).normalized);
 }