SwipeDirection
*此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按 此处。
SwipeDirection 枚列表表示用户在 UserInputService.TouchEnabled 设备上抚摸的方向。
Class.GuiObject.TouchSwipe 和 UserInputService.TouchSwipe 事件作为参数传递。
项目
名称 | 值 | 概要 |
---|---|---|
Right | 0 | 用户向右滑动。 |
Left | 1 | 用户向左滑动。 |
Up | 2 | 用户向上滑动。 |
Down | 3 | 用户向下滑动。 |
None | 4 | 用户并未在特定方向捕捉。 |