I want a very basic script to learn things.
What i need::
a plane is in the scene with www image script attached to it and i have instantiated the plane in the scene. Now what i want from you is - when i click on the plane or its instantiated clones, a gui open to add a url and save. Once i save, the url is stored in the xml, which is lying at [login to view URL]
www image script
[CODE]#pragma strict
// Get the latest webcam shot from outside "Friday's" in Times Square
var url = "[login to view URL]";
function Start () {
// Start a download of the given URL
var www : WWW = new WWW (url);
// Wait for download to complete
yield www;
// assign texture
[login to view URL] = [login to view URL];
}[/CODE]
Ofcourse all the instantiated planes will show the standard image, but with your script i will be able to show different images on the cloned planes.
I hope i made myself as clear as possible. Please do it in c#