Unity and seriialization

Hi,

I only know serialization as a term which describes saving an obj to disk. I never worked with it.

Why are priavte variables not serialized and what does unity mean with “serialization” and when does unity serialize something? (If it does it automatically at some point)

I mean, if serialization is saving a obj with it’s states, why not save private vars as well since they are also part of it?

Thanks

I assumed you googled “Unity Serialization Tutorials” and read

http://blogs.unity3d.com/2012/10/25/unity-serialization/

and

http://forum.unity3d.com/threads/155352-Serialization-Best-Practices-Megapost