Пример #1
0
    IEnumerator Start()
    {
        //UI = GameObject.FindGameObjectWithTag("MainCanvas").GetComponent<TwitchOverworldUI>();
        //StartGettingPlayers();
        TwitchBotRequest playerRequest = JSAPI.GetAllPlayers();

        yield return(playerRequest);

        PopulatePlayerList(playerRequest.Response);

        battlepanel.SetVisible(true);
    }