Example #1
0
 private void OnLoginFacebookSuccess(EnumLoginState state, SocialUser user)
 {
     text += $"\nLogin: {state}";
     if (state == EnumLoginState.Success)
     {
         loginFirebase.credentialUser = user;
         text += $"\nInfo: {user.DebugString()}";
         buttonFirebase.gameObject.SetActive(true);
     }
 }
Example #2
0
        private void OnLoginFirebaseSuccess(EnumLoginState state, SocialUser user)
        {
            text += $"\nLogin: {state}";
            if (state == EnumLoginState.Success)
            {
                loginFirebase.credentialUser = user;
                currentAuthenID = user.uid;
                currentGameId   = SaveManagerExample.GetMainID();

                text += $"\nInfo: {user.DebugString()}";
                buttonSyncData.SetActive(true);
            }
        }