|
I am trying to understand how to use the player prefs with a simple method; Basically I want to instantiate a prefab (or play a sound) each time I report an achievement to Game Center - not every time I am reaching that particular level. So I use this in a function where I am not sure when to set the value and when to read them. Following my artist logic I ended up with something really silly: when I reach the level I want I save the value. But this exactly where I want to read it too. Please help. Or laugh at me :)
(comments are locked)
|
|
Finally got it. Works like a charm.
(comments are locked)
|
