x


Detecting touch during OnGUI ()

Hey there

I'm making something targeted to the iPad which obviously does not support a mouse, so how do I check when my buttons drawn during OnGUI() are poked?

Thanks

more ▼

asked Feb 06, 2011 at 02:51 AM

T. gravatar image

T.
189 71 51 62

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

1 answer: sort voted first

There's nothing that refers to a mouse in any GUI function. Have you tried it and actually had a problem? Other than UnityGUI being slow, it worked fine.

more ▼

answered Feb 06, 2011 at 02:29 PM

Jessy gravatar image

Jessy
18.1k 207 173 283

(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:

x2712
x1087
x400

asked: Feb 06, 2011 at 02:51 AM

Seen: 1830 times

Last Updated: Feb 06, 2011 at 02:51 AM