public void QuitGame() { // Sign out of the google play services. GooglePlayManager.SignOut(); // Play the button SFX SoundManager.Instance.ButtonSFX(); // Quit the game Application.Quit(); }
void OnGUI() { high = 10; if (CreateBtn("登录")) { GooglePlayManager.Authenticating(AuthenticatingCallBack); } if (CreateBtn("注销")) { GooglePlayManager.SignOut(); } if (CreateBtn("上传分数")) { GooglePlayManager.PostScore(123, "CgkImoOim_EUEAIQAQ"); } if (CreateBtn("显示排行榜")) { GooglePlayManager.ShowLeaderboard("CgkImoOim_EUEAIQAQ"); } }