public void Remove(CharacterCamp camp, GameObject obj) { switch (camp) { case CharacterCamp.enemy: enemies.Remove(obj); uiController.AddKillNum(); break; case CharacterCamp.comrades: comrades.Remove(obj); break; } }