public override void Enter() { Papuan.Animator.SetFloat("walkSpeed", 0); if (Papuan.TargetSlote != null) { Papuan.RotateTo(-Papuan.TargetSlote.transform.forward); } }
public override void Enter() { if (Papuan.LastDamageSource != null) { Papuan.SetTargetEnemy(Papuan.LastDamageSource); Papuan.LastDamageSource = null; Papuan.RotateTo(Papuan.LastDamageSource.transform.position - Papuan.transform.position); } }
public override void Enter() { Papuan.Animator.SetTrigger("attack"); if (Papuan.TargetEnemy != null) { Papuan.RotateTo(Papuan.TargetEnemy.transform.position - Papuan.transform.position); } _attacked = false; _timePassed = 0; }
public override void Update() { Papuan.RotateTo(Papuan.TargetEnemy.transform.position - Papuan.transform.position); }