x


Destroy GUI Texture ? on Mause

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);

}

}

more ▼

asked Jul 30 '10 at 01:46 PM

user-3865 (google) gravatar image

user-3865 (google)
1 6 6 6

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Jul 30 '10 at 02:21 PM

skovacs1 gravatar image

skovacs1
10k 11 25 92

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3811
x786

asked: Jul 30 '10 at 01:46 PM

Seen: 1791 times

Last Updated: Jul 30 '10 at 01:46 PM