Open Tanek81 opened 5 years ago
Me too!
I want to know too. I'm upgrading my game to use the latest version of the plug-in and now I don't know how to check if I've unlocked a certain achievement.
This is what I used to check if an achievement was unlocked
bool isAchievementOnlineUnlocked = PlayGamesPlatform.Instance.GetAchievement(achievementID).IsUnlocked;
Same here!
@olehkuznetsov any news on this? Thank you :)
Has anyone figured out what we need to replace GetAchievement? I haven't updated google play games in quite a while.
You can use PlayGamesPlatform.Instance.LoadAchievements. It's not optimal to call it for each increment, may be you can fetch it once in a ten seconds if any achievement was incremented.
Hi, in latest release (0.9.64, commit: 93d87d53617500645f1cbbf36f9aefa0fce72070) the
PlayGamesPlatform.Instance.GetAchievement (achievementId)
is missing and I don't see any other way of obtaining an achievement other than cycling all of them with the existing callback. This was useful to check if an incremental achievement was unlocked in order to avoid further call for it.Example code:
Is there any way of doing this now? Thanks!