I am working on a game for iPad 3 and I want to create a custom effect for each achievement. Basically I am using this to report the achievement in my code:
And I want to instantiate the custom effect prefab right after that but I don’t know how to do it only once or how to check if the achievement is already achieved. Thanks in advance.
I imagine saving achievementGot via PlayerPrefs would be the simplest way to store it locally between sessions. I have no idea what GameCenter functions there are, but I’d be surprised if there isn’t a “HasAchievement” of some kind.