GPGS Invalid classname Issue

Unity3D/Problems 2016. 7. 13. 14:19
반응형



https://github.com/playgameservices/play-games-plugin-for-unity/issues/1197


껏다 키니깐 됨...;;


http://vallista.tistory.com/entry/Unity3D-Google-Play-Game-Service-%EA%B5%AC%EA%B8%80-%ED%94%8C%EB%A0%88%EC%9D%B4-%EA%B2%8C%EC%9E%84-%EC%84%9C%EB%B9%84%EC%8A%A4-%EC%97%B0%EB%8F%99-1


I am building a game for Android with Unity 5, and I have imported this plugin

But it's not working properly I followed this tutorial :

When I try to post or show leaderboard , it does not show anything .It does not even throw any error. Sign-in and out are working properly.Please help

Code :

public void LogIn ()
{
    Social.localUser.Authenticate ((bool success) =>
    {
        if (success) {
            Debug.Log ("Login Sucess");
        } else {
            Debug.Log ("Login failed");
        }
    });
}

public void LogOut ()
{
    PlayGamesPlatform.Instance.SignOut ();
}

public void Post ()
{

    if (Social.localUser.authenticated) {
        Social.ReportScore (5000, LeaderbordId, (bool success) =>
        {
            if (success) {
                ((PlayGamesPlatform)Social.Active).ShowLeaderboardUI (LeaderbordId);
            } else {
                Debug.Log ("Add Score Fail");
            }
        });
    } 
}

public void ShowLeader ()
{

    Social.ShowLeaderboardUI ();
}


반응형

'Unity3D > Problems' 카테고리의 다른 글

ParticleSystem 3D Start Rotation  (0) 2016.08.19
공포의 level_pattern_data  (0) 2016.07.13
NavMeshAgent 목표포착  (0) 2016.06.09
EditorGUILayout.ObjectField obsolete?  (0) 2016.06.09
C# 정확한 Type 의 비교 ( IsAssignableFrom vs is )  (0) 2016.06.09
: