This commit is contained in:
LeeJaeHyun 2024-09-12 16:34:14 +09:00
parent 306576a5e6
commit 81dc8539cc

View File

@ -52,6 +52,24 @@ public class MonsterController : MonoBehaviour
IEnumerator MonsterAction() IEnumerator MonsterAction()
{ {
while (!isDie)
{
switch (monsterState)
{
case State.IDLE:
break;
case State.TRACE:
break;
case State.ATTACK:
break;
case State.DIE:
break;
}
yield return new WaitForSeconds(0.3f);
}
} }
} }