불필요한 코드 정리

This commit is contained in:
Mingu Kim
2025-02-17 01:10:44 +09:00
parent d6975c623f
commit daaa5fb218
4 changed files with 123 additions and 60 deletions

View File

@@ -14,7 +14,8 @@ namespace TON
{
if (other.CompareTag("Player"))
{
_monsterBase.SetTransition(new AttackState());
_monsterBase.IsAttacking = true;
// _monsterBase.SetTransition(new AttackState());
// _monsterBase.SetTransition(new MonsterSkillState());
}
@@ -37,7 +38,8 @@ namespace TON
private void OnTriggerExit2D(Collider2D other)
{
_monsterBase.SetTransition(new ChasingState());
_monsterBase.IsAttacking = false;
// _monsterBase.SetTransition(new ChasingState());
Debug.Log("감지 벗어남");
}