How could i make a it so if the user swipes right or swipes left, do something.
check the iPhoneInput.touches if it
- has 2 touches
- both touches are next to each other
- both touches are either moving left or right
- if then both touches vanish within a given timeframe, you can assume that it was intend to be a swipe and react to it.
I get that… but i dont know how to implement it.
Is there an example somewhere?
No not yet. Unity iPhone was only released 3 days ago so right now, you will have to do something like this through own experimentation I guess