public override void Update() { if (Papuan.TargetEnemy != null) { Papuan.Move((Papuan.TargetEnemy.transform.position - Papuan.transform.position).normalized); } }
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); }