Beispiel #1
0
    // Loads locally
    public IEnumerator Load()
    {
        yield return(null);

        yield return(BackendManager.Login(SteamID, LoginCallback));

        yield return(BackendManager.FetchCharacterFromServer(SteamID, Cid, FetchCharacterCallback));

        yield return(BackendManager.FetchAllCharacters(SteamID, FetchAllCharacterCallback));

        yield return(null);

        //m_gameSetup.hasClientLoaded = true;
        status = 1;
        print("Finished loading client");
    }