public void CleanUp() { characters.Clear(); grenades.Clear(); OnCharacterAdded.RemoveAllListeners(); OnCharacterRemoved.RemoveAllListeners(); OnGrenadeAdded.RemoveAllListeners(); OnGrenadeRemoved.RemoveAllListeners(); }
public void CleanUp() { gameOver = false; if (TurnOrder != null) { TurnOrder.Clear(); } OnGameEnd.RemoveAllListeners(); OnRoundEnd.RemoveAllListeners(); OnRoundStart.RemoveAllListeners(); OnSelectModeChange.RemoveAllListeners(); OnTurnEnd.RemoveAllListeners(); OnTurnStart.RemoveAllListeners(); }