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
        });

 

結果 : 

 

arrow
arrow
    文章標籤
    Unity3D GooglePlay
    全站熱搜
    創作者介紹
    創作者 Yoda2016 的頭像
    Yoda2016

    Yoda2016的部落格

    Yoda2016 發表在 痞客邦 留言(0) 人氣()