Version: 2018.2

InteractionSourcePressType

enumeration

マニュアルに切り替える

説明

The type of button or controller feature pressed, if any.

変数

SelectDepending on the InteractionSourceType of the interaction source, this could be a number of equivalent things: main button on a blicker, air-tap on a hand, and the trigger on a motion controller.
MenuThis button is marked with three horizontal lines, same as you would fine on an Xbox One controller.
GraspThese buttons are generally found on the side of the controller. Some hardware has more than one grasp button.
TouchpadA touchpad only counts as pressed when it's held down enough - otherwise, it's just touched, and will give a reading of the position through InteractionSourceState.touchpadPosition.
ThumbstickSimilar to the touchpad, moving the thumbstick won't count as pressing it - a press will occur when pressing down on the thumbstick enough.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961