Esempio n. 1
0
 public void AutoLogin()
 {
     Logger.Verbose("LoginManager.AutoLogin");
     // If you are logged in with Facebook already
     if (FacebookManager.IsUserLoggedIn)
     {
         // Sign in to PlayFab using your Facebook Identity (auto create the account)
         PlayFabManager.LoginUsingFacebookId();
     }
     // Otherwise
     else
     {
         // Sign In to PlayFab using the local device identifier (auto create the account)
         PlayFabManager.LoginUsingDeviceId();
     }
 }