Exemplo n.º 1
0
    void UpdateHats()
    {
        SelectedHat  = SelectedHat == -1 ? ChadMMHat.GetHatCount() - 1 : SelectedHat;
        SelectedHat %= ChadMMHat.GetHatCount();

        ChadMMHat.SetHat(SelectedHat);
        ChadT1Hat.SetHat(SelectedHat);
        ChadT2Hat.SetHat(SelectedHat);
    }