How to convert a gameobject into a stream for transport?
Sep 28 '11 at 05:29 AM
Why are you trying to do this? Depending on the application there are a few different way which are appropriate. Is it for a networked application? Or is it for the purposes of save-game files?
Yes,it is for a networked application!
The best way to do this for networking is to use Unity's inbuilt serialization protocols- Attach a NetworkView component to the object you want synchronised, and let it work its magic! A more in-depth walkthrough of Unity's networking capacity can be found here.
Or it is for the purposes of save-game files?
Well? Which one is it? It's your question!
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Sep 28 '11 at 05:29 AM
Seen: 1036 times
Last Updated: Oct 10 '11 at 07:05 PM
How to make a gameobject into a stream?
I'm trying to convert a Transform to a GameObject (?)
Whats the difference between an Object and A GameObject?
Animation Question with PlayMode
How to make a GameObject follow my Player
Convert String to GameObject type Array
convert GameObject to Rigidbody type
Convert GameObject to String?
Can't add component because class doesnt exist
how to load gameobject from one scene to other?