hi I'm created five gui texture Click mause button and destroy gui texture script ?
my code :
var kursun_GUI_01: Transform ;
function Update() {
if (Input.GetButtonDown ("0")) {
Destroy(kursun_GUI_01);
}
}
hi I'm created five gui texture Click mause button and destroy gui texture script ?
my code :
var kursun_GUI_01: Transform ;
function Update() {
if (Input.GetButtonDown ("0")) {
Destroy(kursun_GUI_01);
}
}
That isn't even a question. It isn't even a sentence. What do you mean? How do you be "created five gui texture Click Mause"?
From your shattered code fragments (please format them consistently), I will guess that you mean to destroy an object (gui texture) on mouse click. Please see this post.
Also it's a mouse not a mause. If mause is something different, then I am afraid you will have to explain what that means.