x


A convert between stream and object in unity3d?

How to convert a gameobject into a stream for transport?

more ▼

asked Sep 28 '11 at 05:29 AM

noob22 gravatar image

noob22
48 42 47 49

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?

Sep 28 '11 at 05:41 AM syclamoth

Yes,it is for a networked application!

Sep 28 '11 at 06:21 AM noob22

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.

Sep 28 '11 at 06:38 AM syclamoth

Or it is for the purposes of save-game files?

Sep 28 '11 at 07:40 AM noob22

Well? Which one is it? It's your question!

Sep 28 '11 at 07:48 AM syclamoth
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2087
x841
x225
x39
x9

asked: Sep 28 '11 at 05:29 AM

Seen: 1036 times

Last Updated: Oct 10 '11 at 07:05 PM