Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by noob22 · Sep 29, 2011 at 03:12 AM · gameobjectobjectconvertonlinestream

How to make a gameobject into a stream?

And how to make a stream into a gameobject?We use what to convert them?

How to convert between data stream and unity's resources(picture,sound,object,scene,etc)?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image syclamoth · Sep 29, 2011 at 03:29 AM 0
Share

Didn't you already ask this? And we had this whole conversation about it? Or is it just deja-vu?

avatar image noob22 · Sep 29, 2011 at 05:04 AM 0
Share

How to convert between data stream and unity's resources(picture,sound,object,scene,etc)?

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by syclamoth · Sep 29, 2011 at 05:46 AM

Well, as per my previous answer to this question, it depends on why you are doing the serialization! Depending on the target application, you could either use NetworkViews, the WWW class, or straight C# serialization. If you provide more details about what you are trying to do here, I can help you more!

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image noob22 · Sep 29, 2011 at 05:56 AM 0
Share

We want to develop a online game.Use TCP between phone and our server.So I think we need to know how to convert between data stream and unity's resources(picture,sound,object,scene,etc)? I think it will use straight C# serialization?The WWW class have some problem on phone GS$$anonymous$$ ISP's proxy as I practice.And NetworkViews I haven't used.

avatar image noob22 · Sep 29, 2011 at 06:06 AM 0
Share

We do this!$$anonymous$$ake a object into a data stream,transport it by TCP,then make this data stream into object.Just do this!I think use c# serialization will be well!?

avatar image syclamoth · Sep 29, 2011 at 06:22 AM 0
Share

Yes it will, but for assets such as textures, it'd probably be more efficient to package them with the standalone!

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Cannot convert object to gameObject 3 Answers

Whats the difference between an Object and A GameObject? 2 Answers

A convert between stream and object in unity3d? 0 Answers

Problem creating a script to destroy object on collision. 1 Answer

Transform.localPosition Script Problem. 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges