I was wondering how can I make a simple save game feature using the Unity GUI? Just a simple save game feature that will save your progress and inventory, stuff like that. Any help would be appreciated! Thanks!
It’s far from simple to do a save game feature. I have this free package that can help.
If you want to do it yourself you would serialize the information to PlayerPrefs - you can store custom classes using BinaryFormatter or an Xml Serializer and Convert.ToBase64String() or you can just write values directly.
If you don’t want to buy any plugins, player prefs are probably the best way to go.
I use PlayerPrefs, and asked a similar question earlier here.
It has a working example of saving a players position. It should help you get an Idea of how to actually impliment the saving and loading by calling the functions in the script.
Hope it helps.(if it works for ya maybe give a brother an upvote, and click the answer checkmark.:))
Thanks anyways…I will continue to look around. Thanks for trying to help me out.
I am trying to figure out script for playerprefs…am very confused. Any help would be appreciated.
This worked…thanks!