Hi,
It seems that its not possible to store playerpref keys as global variables? If you can't do this, I wonder why its possible
The problem is, I'm trying to build a string using 3 strings. Each string is taken from a playerpref string.
So what I'm doing exactly is:
Playerprefs set string x 3
Key: Globals/Goal 1, 2 and 3
Value: string var 1, 2 and 3
So this should have just set 3 global string variables as the playerpref keys, using 3 local variables, right?
Next state, I 'get playerpref string' and store them as local variables. The problem is that when I build the string, I get String3String3String3. If I look at the get string bit, it seems to be setting the last string that I get into all 3 variables.
I'm not sure if this is a bug or a misunderstanding I have with storing playerpref keys.
Thanks!
Jay