Google 玩游戏 API 有问题
Issue with Google Play games API
我正在学习如何实现 Google 玩游戏 API 我可以毫无问题地登录和退出,但现在我想创建一个基本的回合制游戏,我有问题,我不知道为什么。
这就是问题所在:
与Google在其教程中所说的代码相同:google turn based multiplayer
从 CreateWithInvitationScreen
函数中删除 static
关键字,您的问题应该就会消失。所以,public static void CreateWithInvitationScreen
应该改为public void CreateWithInvitationScreen
。
我正在学习如何实现 Google 玩游戏 API 我可以毫无问题地登录和退出,但现在我想创建一个基本的回合制游戏,我有问题,我不知道为什么。
这就是问题所在:
与Google在其教程中所说的代码相同:google turn based multiplayer
从 CreateWithInvitationScreen
函数中删除 static
关键字,您的问题应该就会消失。所以,public static void CreateWithInvitationScreen
应该改为public void CreateWithInvitationScreen
。