What's the best way to convert data from a www request to variables in unity?
Nov 25 '10 at 05:28 PM
Could you be a little more clear on what the problem is?
yeah sure, I need to get some data from a url in the form name=name&message=a%20message&image=http://foo.com/images/fooimage.jpg into unity. I know how to get the raw data using a www request but I'm not sure how to get it into individual variables. We haven't developed the url data script yet so it doesn't necessarily have to be in the form above. Thanks.
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: Nov 25 '10 at 05:28 PM
Seen: 512 times
Last Updated: Nov 25 '10 at 05:28 PM
WWW & and strings in C#
urldecode function or library for Unity?
Loading a large xml file (~200 multi-level nodes) into Unity
Max String Length in WWW url's?
Adding data to a set of transforms
How to create an agenda or timetable system?
How can I save and load a player's position?
How can I read data from a text file, putting a large amount of data into structures
recovery after a crash