05-14 08:35:57.124: I/Unity(10001): (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
05-14 08:35:57.133: D/ViewRootImpl@9dc46f2[UnityPlayerActivity](10001): stopped(false) old=false
05-14 08:35:57.134: D/ViewRootImpl@9dc46f2[UnityPlayerActivity](10001): MSG_RESIZED: frame=(104,0,2280,1080) ci=(0,0,39,0) vi=(0,63,0,0) or=2
05-14 08:35:57.170: D/ViewRootImpl@9dc46f2[UnityPlayerActivity](10001): MSG_WINDOW_FOCUS_CHANGED 1 1
05-14 08:35:57.223: I/Unity(10001): [Play Games Plugin DLL] 05/14/20 8:35:57 +09:00 DEBUG: Invoking user callback on game thread
05-14 08:35:57.223: I/Unity(10001): GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
05-14 08:35:57.223: I/Unity(10001):
05-14 08:35:57.223: I/Unity(10001): (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
05-14 08:35:57.224: I/Unity(10001): [Play Games Plugin DLL] 05/14/20 8:35:57 +09:00 DEBUG: Authentication canceled
05-14 08:35:57.224: I/Unity(10001): GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
05-14 08:35:57.224: I/Unity(10001):
05-14 08:35:57.224: I/Unity(10001): (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
05-14 08:35:57.492: D/ViewRootImpl@9dc46f2[UnityPlayerActivity](10001): MSG_RESIZED: frame=(104,0,2280,1080) ci=(0,0,39,0) vi=(0,0,0,0) or=2
05-14 08:36:02.083: I/Unity(10001): Starting Auth with token client.
05-14 08:36:02.083: I/Unity(10001): GooglePlayGames.Android.AndroidClient:Authenticate(Boolean, Action`1)
05-14 08:36:02.083: I/Unity(10001):
05-14 08:36:02.083: I/Unity(10001): (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
05-14 08:36:02.965: D/ViewRootImpl@9dc46f2[UnityPlayerActivity](10001): MSG_WINDOW_FOCUS_CHANGED 0 1
05-14 08:36:02.990: D/ViewRootImpl@9dc46f2[UnityPlayerActivity](10001): MSG_RESIZED: frame=(104,0,2280,1080) ci=(0,0,39,0) vi=(0,63,0,0) or=2
05-14 08:36:03.065: D/ViewRootImpl@9dc46f2[UnityPlayerActivity](10001): Relayout returned: old=(104,0,2280,1080) new=(104,0,2280,1080) req=(2176,1080)0 dur=5 res=0x1 s={true 529764876288} ch=false
05-14 08:36:03.068: D/ViewRootImpl@9dc46f2[UnityPlayerActivity](10001): MSG_RESIZED: frame=(104,0,2280,1080) ci=(0,0,39,0) vi=(0,63,39,0) or=2
05-14 08:36:04.078: D/ViewRootImpl@9dc46f2[UnityPlayerActivity](10001): Relayout returned: old=(104,0,2280,1080) new=(104,0,2280,1080) req=(2176,1080)0 dur=13 res=0x1 s={true 529764876288} ch=false
05-14 08:36:08.166: I/Unity(10001): Returning an error code.
05-14 08:36:08.166: I/Unity(10001): GooglePlayGames.Android.<>c__DisplayClass18_0:b__0(Int32)
05-14 08:36:08.166: I/Unity(10001): System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
05-14 08:36:08.166: I/Unity(10001): UnityEngine.AndroidJavaProxy:Invoke(String, Object[])
05-14 08:36:08.166: I/Unity(10001): UnityEngine._AndroidJNIHelper:InvokeJavaProxyMethod(AndroidJavaProxy, IntPtr, IntPtr)
05-14 08:36:08.166: I/Unity(10001):
--------------------------------------------------------------------------------------
void Start()
{
PlayGamesPlatform.DebugLogEnabled = true;
PlayGamesPlatform.Activate();
LogIn();
}
public void LogIn() // λ‘κ·ΈμΈ
{
Social.localUser.Authenticate((bool success) =>
{
if (success)
{
playerID = Social.localUser.id;
LoginText.text = "λ‘κ·ΈμΈμλ£";
}
else {
LoginText.text = "λ‘κ·ΈμΈ μ€";
Invoke("LogIn", 2);
}
});
}
sha-1 ν€ μ±μλͺ μΈμ¦μλ μ λ‘λ μΈμ¦μ λ μ€μ μ΄λ€ κ±° μ?
OAuth 2.0 ν΄λΌμ΄μΈνΈ ID μ μ¬κΈ° μ±μλͺ μ΄λ μ λ‘λ μΈμ¦μ λλ€ μΌμ΄
μ λ‘λ μΈμ¦μλ ν μ€νΈμ©μ. 릴리μ¦ν λλ ꡬκΈAPIμμ OAuth ν΄λΌμ΄μΈνΈ ID μλ‘ λ§λ λ€μμ κ±°κΈ°μ μ±μλͺ μΈμ¦μ λ£κ³ μ± μλͺ μΈμ¦μκ° μ°κ²°λ μ±μ νλ λ λ§λ€μ΄μΌ λ¨
κ²°κ³Όμ μΌλ‘ κ²μμλΉμ€μ μ°κ²°λ μ± νμ΄μ§μ λ κ°μ μ±μ΄ μμ΄μΌ λ¨. νλλ ν μ€νΈμ©, νλλ 릴리μ¦μ©
μ... κ²μμλΉμ€ μ°κ²°λμ±μ μ λ‘λμλͺ ν μ€νΈμ± λ§ μλλ° μ±μλͺ μΈμ¦μ μ°κ²°λ 릴리μ¦μ© νλ λ λ§λ€λΌκ³ ?
γ γ νλλ μ±μλͺ μΈμ¦μκ° μ°κ²°λμ΄μμ΄μΌμ§λ§ ν μ€νΈ κ³μ μ΄ μλ λ€λ₯Έ κ³μ μμ λ‘κ·ΈμΈν μ μμ
μ κ³ λ§μ ν¨ν΄λ³Όκ»!!
μ νλμ μ±μΌλ‘λ κ°λ₯ν¨
λ¬Έμ μ체λ μ λ‘λ ν λ μ¬μ©ν μΈμ¦μλ μ€μ λ§μΌμμ λ°μλ μΈμ¦μλ λ€λ₯΄κΈ° λλ¬Έμ λ°μνκ² λ§μ κ±° κ°μ. λ§μ½ usb κΌ½κ³ λ°λ‘ λΉλνμλ λ‘κ·ΈμΈμ΄ λλλ° κ΅¬κΈνλ μ΄μμ μνλ λ² νλ νλ‘λμ μ΄λ λ€μ΄λ°μμ λ‘κ·ΈμΈμλλ©΄ λΉΌλ° κ·Έ λ¬Έμ
κ·Όλ° λͺλͺμ λ¬Έμ μμ΄ λ‘κ·ΈμΈμ΄ μλλλ°..?