sonofatrus 21 мар 2012, 17:39
There are various ways Unity can upload and download information from the web. The key Unity classes to achieve this are:
WWW - a small utility module for retrieving the contents of URLs (text, image or even movies!).
WWWForm - a helper class to generate form data to post to web servers using the WWW class.
Application - access's Unity's run-time data, which also include the function "ExternalCall()", which can communicate with JavaScript on a webpage, and "OpenURL()", which opens any URL in a browser.
Some specifics of these classes and how Unity interacts with the web is outlined below.