我有我的插件,但是当我键入:如何在Unity 5.5f中进行Google Play游戏?
PlayGamesPlatform.Activate();
((PlayGamesPlatform)Social.Active).Authenticate ((bool success) => {}, true);
我有这样的问题:
C:\用户\埃斯帕达\桌面\统一工作区\ Crashball \资产\ GooglePlayGames \ ISocialPlatform \ PlayGamesLocalUser .cs(18,18):错误CS0535:'GooglePlayGames.PlayGamesLocalUser'no implementsa el miembro de interfaz'UnityEngine.SocialPlatforms.ILocalUser.Authenticate(System.Action)'(CS0535)(Assembly-CSharp)
C: \ Users \ Espada \ Desktop \ Unity Workspace \ Crashball \ Assets \ Googl ePlayGames \ ISocialPlatform \ PlayGamesPlatform.cs(18,18):错误CS0535:'GooglePlayGames.PlayGamesPlatform'no implea el miembro de interfaz'UnityEngine.SocialPlatforms.ISocialPlatform.Authenticate(UnityEngine.SocialPlatforms.ILocalUser,System.Action)'(CS0535) (Assembly-CSharp)
如何激活我的插件?什么插件使用?我用:GooglePlayGamesPlugin-0.9.01-force-same-gms-version
这是正确的?
我只是找到(我想)的解决方案,但我不知道怎么做,怎么样?我在脚本中写了什么?
https://github.com/playgameservices/play-games-plugin-for-unity/pull/1500/files
是的,但是当我这样做时,(复制他的2个脚本),我的程序说我33个错误,33个引用老的文件夹**,像Google Basic API,这个链接只有2个脚本.... –
我想我找到了最终解决方案:https://github.com/playgameservices/play-games-plugin-for-unity,我下载了“当前版本”** GooglePlayGamesPlugin-0.9.36 **,现在我可以激活这个插件sice Unity,这个插件是否是正确的解决方案? –
你也必须在该链接上滚动(https://github.com/playgameservices/play-games-plugin-for-unity/pull/1500/files)。还有另一个名为“PlayGamesPlatform.cs”的文件。您点击它的查看按钮,并执行与PlayGamesLocalUser相同的操作。 – Programmer