- Home /
Question by
noob22 · Sep 28, 2011 at 05:29 AM ·
gameobjectconvertstreamtransport
A convert between stream and object in unity3d?
How to convert a gameobject into a stream for transport?
Comment
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?
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.