public void OnStateUpdate() { if (!enemy.InRange()) { enemy.FollowEnemy(); } else { ToAttackState(); } }
public void OnStateUpdate() { if (enemy.InRange()) { enemy.AttackHelper(); enemy.Attack(); } else { ToFollowState(); } }