Download Files

Hi I want a code that placing a url to download files from a server,
I need this for a repository type and power up items and then download them and put them in my project Unity3D

Please, post javascript codes so i can understand it better and not c#

This is a matter of using the WWW class and once the download is done using System.IO.File.WriteAllBytes (see MSDN for documentation - there in C# then as UnityScript does not exist outside unity) with www.bytes

Thank you Dremora.your support helped me a lot