Esempio n. 1
0
    /// <summary>
    /// Login Successfully - Goes to next screen.
    /// </summary>
    /// <param name="result"></param>
    private void OnLoginSuccess(PlayFab.ClientModels.LoginResult result)
    {
        Debug.LogFormat("Logged In as: {0}", result.PlayFabId);
        Panel.SetActive(false);

        PlayFabManager.IsLoggedIn = true;
        PlayFabManager.LoadUserData();
        PlayFabManager.LoadAccountData();
        PlayFabManager.LoadTitleData();

        GameManager.GoToMainMenu();
    }