Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Update ()
- {
- touch = iPhoneInput.touch[0];
- if (touch.phase == iPhoneTouchPhase.Began)
- {
- ///touch began event
- }
- if (touch.phase == iPhoneTouchPhase.Moved && detectingMotion == true)
- {
- ////touch moved event
- }
- if (touch.phase == iPhoneTouchPhase.Ended)
- {
- ///touch ended event
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment