SwipeDirection
*此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下這裡。
撥動方向枚表示使用者在 UserInputService.TouchEnabled 裝置上撥動的方向。
GuiObject.TouchSwipe 和 UserInputService.TouchSwipe 事件將這個枚舉傳為參引數。
道具
名稱 | 值 | 概要 |
---|---|---|
Right | 0 | 使用者向右滑動。 |
Left | 1 | 使用者向左滑動。 |
Up | 2 | 使用者向上滑動。 |
Down | 3 | 使用者向下滑動。 |
None | 4 | 使用者未向特定方向滑動。 |