close
1. 以系統管理員身份執行SDK Manager.exe梗新到最新版。
2. Unity 裡面的 res 資料機複製到Plugins -> Android 裡面
3. Plugin 的元件執行前要先啟動
using GooglePlayGames;
using GooglePlayGames.BasicApi;
using UnityEngine.SocialPlatforms;
GooglePlayGames.PlayGamesPlatform.Activate();
Social.localUser.Authenticate((bool success) => {
// handle success or failure
});
結果 :
文章標籤
全站熱搜