Example #1
0
    void SetupLocalPlayer()
    {
        readyButton.gameObject.SetActive(false);
        waitingButton.gameObject.SetActive(false);
        joinButton.gameObject.SetActive(true);

        CmdColorChange();

        if (playerName == "")
        {
            CmdNameChanged(RandomNameGenerator.generatePlayerName());
        }
    }