What classes are serializable in unity?????

i want to use Object serialization to save the game state, do this work? which classes in unity are serializable and mainly is the following are?

1- MonoBehaviour 2- GameObject 3- Transform 4- RigidBody 5- Animation 6- Component

according to the networkview i think 1,3,4,5 can be serialized am i right? if yes i'am wondering what other classes are?

i appreciate any help in this?

See this answer:

http://answers.unity3d.com/questions/9061/edit-and-continue-scripting-destroys-current-state.html

Unless I am misunderstanding what you are meaning by Serialize only objects that are marked with the [Serializable] attribute can be truly serialized. Most of the above do not seem to be. If this is not apparent in the documentation you can see this using RedGate and browsing the UnityEngine.dll. You might want to consider saving out only the Properties of the objects that you really care about into either a scheme that you cook up like name value pair strings in a text file. Serializing the entire scene graph might present problems, but I have never tried it.

Hope this helps.