- Home /
Adding extensions to (Compiled) games?
Hello. I'm designing an on-line Web game and I just wanted to know if it was possible for users to add custom content to my game. It will also be helpful to me so I don't have to keep uploading MASSIVE unity3d files to my server, taking 2-3 hours to load. maybe I can just upload packages as maps?
Answer by SilverTabby · Jul 03, 2011 at 09:21 PM
Using the WWW class and the WWWForm class, you can request content from an external server at will.
What you do with that content is up to you. For example, there was a question on here recently where someone was changing the scenery on the fly by downloading textures from a server.
Unity pro makes downloading large amounts of content via these classes easier with asset bundles.
Unity pro- It's too expensive. I'll have to just stick with single unity3d files for the time being till I purchase it
I know it's too expensive (it is for me as well), but I felt like I had to mention it because the option exists.
You can still get raw byte-by-byte data from the server in any form you want, and you can also get the entire HT$$anonymous$$L page in a string.
You can get what ever you want from the a server using the WWW class without buying pro in theory, but you have to deal with the converting raw bytes into something usable.
Your answer
Follow this Question
Related Questions
FBX Importer at runtime 2 Answers
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Custom inspector for files of certain type. 2 Answers
Shader Importer 0 Answers
Can you write a texture to the depth buffer before scene is rendered? 1 Answer