Untitled

mail@pastecode.io avatar
unknown
plain_text
4 years ago
321 B
9
Indexable
Never
public void AddPlayer(GameObject playerPanel)
    {
        ...
        if(players.Count >= 2)
            RandomizeVillainsButton.interactable = true;
    }

public void DeletePlayer(GameObject playerPanel)
    {
        ...
        if (players.Count <= 1)
            RandomizeVillainsButton.interactable = false;
    }