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?
Answer by Jessy
Feb 06, 2011 at 02:29 PM
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.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users post good questions and use the site effectively we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
No one has followed this question yet.
simple TOUCH of a 3D object in iOS
Is it possible to test Touch event without IOS?
How to centre a 3D pinch zoom
Tap to Move Drag to Look Null Reference
Recommendations on best way to begin implementing Swipe for iOS game?