protected void DespawnMJ(MJ mj) { _MJMgr.DespawnMJ(mj.transform); switch (mj.stage) { case MJ_STAGE.IN: MJ_IN_List.Remove(mj); break; case MJ_STAGE.OUT: MJ_OUT_List.Remove(mj); break; case MJ_STAGE.CPG: MJ_CPG_List.Remove(mj); break; default: break; } }
private void DespawnMJ(MJ mj) { MJList.Remove(mj); _MJ_Mgr.DespawnMJ(mj.transform); }