瀏覽代碼

fix error

alex_gs 3 年之前
父節點
當前提交
7e442e904e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Unity3/Assets/AppleAuthSample/MainMenu.cs

+ 2 - 1
Unity3/Assets/AppleAuthSample/MainMenu.cs

@@ -196,6 +196,7 @@ public class MainMenu : MonoBehaviour
             {
                 // If a sign in with apple succeeds, we should have obtained the credential with the user id, name, and email, save it
                 PlayerPrefs.SetString(AppleUserIdKey, credential.User);
+                Debug.Log(credential.User);
                 //this.SetupGameMenu(credential.User, credential);
             },
             error =>
@@ -204,6 +205,6 @@ public class MainMenu : MonoBehaviour
                 Debug.LogWarning("Sign in with Apple failed " + authorizationErrorCode.ToString() + " " + error.ToString());
                 this.SetupLoginMenuForSignInWithApple();
             });
-            Debug.Log(loginArgs.)
+        
     }
 }