Touch input examples

hey all,

i heard somewhere that there were some example untiy files, or sample code the showed the various ways that the touch input happened on the unity iPhone.

I really want to explore / figure out a touch / swipe / drag / release.

I also am interested in trying the pinch zoom.

Can someone tell me where i might fond some examples of these?

thanks!!!
cp

http://unity3d.com/support/resources/tutorials/penelope

:smile:

The best examples of the touch stuff are in the demo called touchphases here:

You can run it as a project, build and play around with it with the unity remote. Pretty cool! Although I don’t remember if it has pinch and zoom…

Looks like touchPhases has gone?

I’m not quite sure what you are saying there, Aaron. (You can still get the touches and touch phases but the classes have been renamed without the “iPhone” prefix, if that’s what you are referring to.)

no the example project :slight_smile:
AaronC

Edit: I got the impresion from the above post there was an example project called touchPhases.

With a little of reverse engineering:
http://unity3d.com/support/resources/files/TouchPhases.zip