#How to Create Cube Skin save system?
1 messages · Page 1 of 1 (latest)
That's the script of shop buying (I know, it's chaotic xD)
Shop has PlayerPrefs but it is to the blue button
How Can I Create save system which saves the skin of the cube even after restart of game?
I would like the purple skin to remain after restarting the scene.
make a new player pref, either a string or an int, that saves the selected color
int color = PlayerPrefs.GetInt("Selected", 0);
SetSkinColor(skinColors[color]);```
@broken cargo does that kind of make sense?