Version: 2019.4
LanguageEnglish
  • C#

GestureSettings

enumeration

Suggest a change

Success!

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

Submission failed

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

Cancel

Description

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.

Properties

NoneDisable support for gestures.
TapEnable support for the tap gesture.
DoubleTapEnable support for the double-tap gesture.
HoldEnable support for the hold gesture.
ManipulationTranslateEnable 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.
NavigationXEnable support for the navigation gesture, in the horizontal axis.
NavigationYEnable support for the navigation gesture, in the vertical axis.
NavigationZEnable support for the navigation gesture, in the depth axis.
NavigationRailsXEnable support for the navigation gesture, in the horizontal axis using rails (guides).
NavigationRailsYEnable support for the navigation gesture, in the vertical axis using rails (guides).
NavigationRailsZEnable support for the navigation gesture, in the depth axis using rails (guides).
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961