private void OnSquadDie(BaseSquad squad) { if (_enable) { squad.Dispose(); Squads.Remove(squad); if (Squads.Count == 0) { ManagerProvider.EventManager.FormationDieEvent.OnEvent(); } } }