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