- Home /
Question by
JackD · Apr 01, 2013 at 10:56 AM ·
gameobjectiphoneiphonetouch
Unity iPhone: Touch Control
i wanted to add touch to some of my moving game objects after crossing some distance or in some predefined range.
Comment
Answer by mohammadkhatri · Apr 01, 2013 at 01:03 PM
First Of all JackD you need to give specific and more details in your question first learn it Buddy :D
Now Check this
You Can Use **Mathf.clamp**
for giving boundry to your object. For touch inputs U can use **Input.Touches**
.. Take Below Reference.
Your answer
Follow this Question
Related Questions
Projectile not 'projecting' because i have to use "var xxx : GameObject = Instantiate" 2 Answers
The iPhoneInput.touchCount is 5 while more or no touch actually. 1 Answer
All objects response to one touch 1 Answer
Why is Unity loading disabled GameObjects at scene start? 1 Answer
I want to destroy the top object from a stack of objects on touch, not all objects. 1 Answer