예제 #1
0
 // take an authentication result and request user data then call event to store user data
 public void GetAuthUser(AuthRes authRes)
 {
     PlayerPrefs.SetString(GameStrings.LocalStorage.AuthToken, authRes.access_token);
     auth.Read(authRes.access_token).completed += GetAuthUserCallback;
 }