Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
This enumeration represents the set of gestures that may be recognized by GestureRecognizer.
GestureRecognizer performs only the minimal disambiguation between the set of gestures that you request. For example, if you request just Tap, the user may hold their finger down as long as they like and a Tap will still occur when the user releases their finger.
|None||Disable support for gestures.|
|Tap||Enable support for the tap gesture.|
|DoubleTap||Enable support for the double-tap gesture.|
|Hold||Enable support for the hold gesture.|
|ManipulationTranslate||Enable support for the manipulation gesture which tracks changes to the hand's position. This gesture is relative to the start position of the gesture and measures an absolute movement through the world.|
|NavigationX||Enable support for the navigation gesture, in the horizontal axis.|
|NavigationY||Enable support for the navigation gesture, in the vertical axis.|
|NavigationZ||Enable support for the navigation gesture, in the depth axis.|
|NavigationRailsX||Enable support for the navigation gesture, in the horizontal axis using rails (guides).|
|NavigationRailsY||Enable support for the navigation gesture, in the vertical axis using rails (guides).|
|NavigationRailsZ||Enable support for the navigation gesture, in the depth axis using rails (guides).|