UIDragDetectorDragSpace
*此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按 此处。
使用 DragDetector 来设置定义输入/输出空间的个自定义拖动函数注册通过 SetDragStyleFunction() 或 AddConstraintFunction() 来设置。
项目
名称 | 值 | 概要 |
---|---|---|
Parent | 0 | 将输入和返回值的空间作为探测器的父级GuiObject 的本地空间。 |
LayerCollector | 1 | 将输入和返回值的空间作为 LayerCollector 的空间。 |
Reference | 2 | 将输入和返回值的空间作为 ReferenceUIInstance 的空间。 对于 DragRelativity 和 DragUDim2 用途, 如果 ReferenceUIInstance 不是 nil ,这将与 父级 相同。 |