Google Play服务无法加载排行榜用户图片

时间:2018-01-11 20:00:13

标签: c# android unity3d google-play-games

我试图从排行榜中保存public void LoadUsernames() { for (int i = 0; i < usersData.Count; i++) { usersIds.Add(usersData[i].userID); //Get all the usersId inside usersData } Social.LoadUsers(usersIds.ToArray(), (users) => { foreach (IScore score in usersData) { IUserProfile user = FindUser(users, score.userID); if (user != null) { usersName.Add(user.userName); usersTexture.Add(user.image); } } StartCoroutine(LoadingUsersName()); }); } 的列表,但它总是空的(即使我保持加载一段时间)。

usersTexture

将纹理存储在usersTextures中后,我得到了原始图像,我只是将每个纹理添加到原始图像中,但Social.localUser.image始终为空。我已经尝试以同样的方式jest-environment对原始图像进行操作。

0 个答案:

没有答案