- Home /
Question by
RoR · Apr 26, 2011 at 06:48 AM ·
iphoneguitexture
Unity Iphone and GUITextures
If I am using GUITExtures how do I go about figuring out if a GUITexture is touched?
Thank you in advance.
Comment
Best Answer
Answer by Jessy · Apr 26, 2011 at 07:11 AM
A GUITexture cannot "be touched". However, you can use Rect.Contains, and see if any fingers touched the screen in that box. TouchPhase.Began can be of help.
Your answer
![](https://koobas.hobune.stream/wayback/20220613125339im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
How to check what iDevice your using and adjust GUI sizes according... 1 Answer
how to make simple touch commands and play animation? 1 Answer
TPS Camera with Joystick (Android) 0 Answers
build for iphone - "function is not a member of object" 1 Answer