Skip to content

Instantly share code, notes, and snippets.

View jinmanpak's full-sized avatar

jinmanpak

  • Eggtart Inc
View GitHub Profile
@jinmanpak
jinmanpak / GPGSLogin.cs
Last active February 12, 2021 00:37
Google Play login failed 처리
// Try login
public static void OnLogin()
{
/* Get login try result status. If user refused the sign-in already, not doing sign-in process */
if(GetGoogleLoginResult() == false)
{
return;
}
// Initialize login
@jinmanpak
jinmanpak / Part of AndroidClient.cs
Last active February 12, 2021 00:26
GPGS Android Logout 처리
// This method will be called when user logout the google play servcie
public void SignOut(Action uiCallback)
{
if (mTokenClient == null)
{
InvokeCallbackOnGameThread(uiCallback);
return;
}
mTokenClient.Signout();