public void ActiveCollider(MONSTER mon) { switch (mon) { case MONSTER.OBGOBLIN: obGoblin.ActiveCollider(); break; case MONSTER.NOBGOBLIN: nGoblin.ActiveCollider(); break; case MONSTER.SPAWN: spawnGoblin.ActiveCollider(); break; } }
public void ActiveCollider(MONSTER mon) { switch (mon) { case MONSTER.OBGOBLIN: obGoblin.ActiveCollider(); break; case MONSTER.NOBGOBLIN: nGoblin.ActiveCollider(); break; case MONSTER.SPAWN: spawnGoblin.ActiveCollider(); break; } }