This commit is contained in:
LeeJaeHyun 2024-09-12 17:03:44 +09:00
parent 5b234cfb7d
commit fb3b35e984

View File

@ -65,12 +65,14 @@ public class MonsterController : MonoBehaviour
{
case State.IDLE:
agent.isStopped = true;
animator.SetBool("IsTrace", false);
break;
case State.TRACE:
// 추적 시작
agent.SetDestination(playerTr.position);
agent.isStopped = false;
animator.SetBool("IsTrace", true);
break;
case State.ATTACK: