Hello,
I have been using Unity for 1 year and as of now, have yet to try and save a game.
I have a few questions, that I’m not to sure about relating to saving that I was hoping you could answer.
-
does any class that have is serializable automatically get saved? or is this line just telling unity that it can be saved, and then has be to saved manually by another script. (hope that makes sense)
-
do i need to get reference to each script to save it, or can I get the GameObject to save (and the script gets saved automatically because its set to serializable.
-
does each script that is serializable need a save function to be called?
-
how does the main save function work - i.e. does it call every script that is serializable as mentioned in point 3. or is it a much smaller function, and unity sorts out everything in the background (kinda).
Well i hope all that makes sense. Its hard to talk about things when you not sure how things work to begin with…
Any answers are welcome, since at this moment in time, my head hurts from reading
Thanks
Klarax