[Unity&GameSparks]注册玩家信息分类无法添加

来源:互联网 发布:做淘宝必须有团队 编辑:程序博客网 时间:2024/09/21 06:17


教程 -- 分析、分割和游戏管理 -- 细分玩家注册




The Request is expecting the SetSegments value as GSRequestData. You could use the following to do this in your script. 

GSRequestData segdata = new GSRequestData();
segdata.AddString("faction", "Viking");

You can then use this when sending the request. .SetSegments(segdata)


请求期望SetSegments值为GSRequestData。您可以在脚本中使用以下操作。 

GSRequestData segdata = new GSRequestData();
segdata.AddString(“faction”,“Viking”);

然后,您可以在发送请求时使用。.SetSegments(segdata)


如何在 GameSparks 里面找到 玩家信息,如下图所示













原创粉丝点击