UIDragDetectorResponseStyle列挙型(Enum)
列挙型(Enum)日本語解説は準備中
ひとことで言うと
UIDragDetectorResponseStyleは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Describes how the clicked GuiObject will be treated once the desired motion has been calculated.
選べる値(4)
| 名前 | 値 | 説明 |
|---|---|---|
Enum.UIDragDetectorResponseStyle.Offset | 0 | Move by the Datatype.UDim.Offset|Offset values of the detector's parent's GuiObject.Position value. |
Enum.UIDragDetectorResponseStyle.Scale | 1 | Move by the Datatype.UDim.Scale|Scale values of the detector's parent's GuiObject.Position value. |
Enum.UIDragDetectorResponseStyle.CustomOffset | 2 | The UI element will not move at all, but the Datatype.UDim.Offset|Offset values of the detector's Class.UIDragDetector.DragUDim2|DragUDim2 will still be updated and the detector's events will still fire, allowing you to respond to drag manipulation however you'd like. |
Enum.UIDragDetectorResponseStyle.CustomScale | 3 | The UI element will not move at all, but the Datatype.UDim.Scale|Scale values of the detector's Class.UIDragDetector.DragUDim2|DragUDim2 will still be updated and the detector's events will still fire, allowing you to respond to drag manipulation however you'd like. |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(UIDragDetectorResponseStyle)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。