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?
Feb 06, 2011 at 02:51 AM
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.
Feb 06, 2011 at 02:29 PM
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity.
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.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Feb 06, 2011 at 02:51 AM
Seen: 1952 times
Last Updated: Feb 06, 2011 at 02:51 AM
Need Help With Unity iOS "touch" Code
Object to turn toward touch location
Input.touchCount returning wrong number
Finding the centre of two touches
How can I swipe function that lets the player select buttons?
IOS touch vs OnMouseDown & error messages
Instantiate not working
Fire ball towards touch position
Scripting a "touch" on an object in iOS.
Raycast from player to touch point?