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 '11 at 02:51 AM

T. gravatar image

T.
174 24 26 34

(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 '11 at 02:29 PM

Jessy gravatar image

Jessy
17.9k 78 101 205

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

x2552
x938
x358

asked: Feb 06 '11 at 02:51 AM

Seen: 1706 times

Last Updated: Feb 06 '11 at 02:51 AM