Пример #1
0
    public void CleanUp()
    {
        characters.Clear();
        grenades.Clear();

        OnCharacterAdded.RemoveAllListeners();
        OnCharacterRemoved.RemoveAllListeners();
        OnGrenadeAdded.RemoveAllListeners();
        OnGrenadeRemoved.RemoveAllListeners();
    }
Пример #2
0
    public void CleanUp()
    {
        gameOver = false;

        if (TurnOrder != null)
        {
            TurnOrder.Clear();
        }

        OnGameEnd.RemoveAllListeners();
        OnRoundEnd.RemoveAllListeners();
        OnRoundStart.RemoveAllListeners();
        OnSelectModeChange.RemoveAllListeners();
        OnTurnEnd.RemoveAllListeners();
        OnTurnStart.RemoveAllListeners();
    }