x


Before updating to Windows 10 you may need to return your Pro license. More information here

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

avatar image

T.
189 73 53 65

(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

avatar image

Jessy
19.1k 212 203 317

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

x3613
x1511
x455

asked: Feb 06, 2011 at 02:51 AM

Seen: 1996 times

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