Engine Class
DragDetector
*เนื้อหานี้แปลโดยใช้ AI (เวอร์ชัน Beta) และอาจมีข้อผิดพลาด หากต้องการดูหน้านี้เป็นภาษาอังกฤษ ให้คลิกที่นี่
สรุป
คุณสมบัติ
ActivatedCursorIcon:ContentId |
วิธีการ
AddConstraintFunction(priority: number,function: function):RBXScriptConnection |
RestartDrag():() |
SetDragStyleFunction(function: function):() |
SetPermissionPolicyFunction(function: function):() |
เหตุการณ์
DragContinue(playerWhoDragged: Player,cursorRay: Ray,viewFrame: CFrame,vrInputFrame: OptionalCoordinateFrame,isModeSwitchKeyDown: boolean):RBXScriptSignal |
DragEnd(playerWhoDragged: Player):RBXScriptSignal |
สมาชิกที่ได้รับทอด
สมาชิก 8 คนที่รับทอดมาจาก ClickDetector
สมาชิก 57 คนที่รับทอดมาจาก Instance
สมาชิก 6 คนที่รับทอดมาจาก Object
เอกสารอ้างอิงเกี่ยวกับ API
คุณสมบัติ
ActivatedCursorIcon
DragDetector.ActivatedCursorIcon:ContentId
วิธีการ
AddConstraintFunction
ส่งค่ากลับ
RestartDrag
DragDetector:RestartDrag():()
ส่งค่ากลับ
()
SetDragStyleFunction
เหตุการณ์
DragContinue
DragEnd
DragStart