|
i was trying to make a alternative script to "this" here's the script, the GUI's works but it isn't saving, would be happy if somebody could help:)
(comments are locked)
|
|
hey, you should add to your Update's if, right below the .SetFloats() so unity writes the coords in the PlayerPrefs That's not recommended during game play and is just belt and braces
Jun 26 '12 at 01:31 PM
whydoidoit
whydoidoit isabsolutely right suggesting that the save button should just actually save, not set the boolean flag.
Jun 26 '12 at 01:36 PM
tomekkie2
(comments are locked)
|
|
It looks to me like your problem is that as soon as you press the button it keeps on saving every frame. Turn off onSave in the Update. Or even better: ah forgot about that :D
Jun 26 '12 at 01:44 PM
FSeahawk
Please mark the question as answered by clicking the tick next to my answer :)
Jun 26 '12 at 03:08 PM
whydoidoit
(comments are locked)
|
