- Home /
Scene Saving
Hey, so I was wondering, I am making a platformer type game, I want to have a load button on the side, and a save button. When you click the save button it will write maybe a little text file, that says maybe "2" then when you click the load button, it will load "2".
This may be very hard, but I am attempting to get this working, and thought I could post this whilst I try my own things, and maybe, just maybe somebody will have the answer for me :) thank you
https://docs.unity3d.com/Documentation/ScriptReference/PlayerPrefs.html
What platform (iOS, PC, etc)?
Answer by MaGuSware™ · Feb 10, 2014 at 12:20 AM
The nice thing about unity is you are not restricted to relying on the engine for everything.
By getting a simple C# tutorial on writing to a text file and using a bit of magic (brain power wink) to create a GUI button for it; you should be good to go.
Here are some links to help you get started:
http://msdn.microsoft.com/en-us/library/system.io.filestream(v=vs.110).aspx http://docs.unity3d.com/Documentation/ScriptReference/GUI.Button.html
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Hard question about saving and loading 1 Answer
Getting error on instatiating. 0 Answers
input .lzma too short 0 Answers