• <option id="kikm0"><source id="kikm0"></source></option>
  • 金沙娱东城官网

    MouseDrag Component

    Provides the entity with drag and drop mouse events.

    Events

    Dragging [Data = {MouseEvent}]
    is triggered each frame the entity is being dragged
    StartDrag [Data = {MouseEvent}]
    is triggered when dragging begins
    StopDrag [Data = {MouseEvent}]
    is triggered when dragging ends

    See Also

    Methods

    Back to top

    .startDrag()

    public this .startDrag(void)

    Make the entity produce drag events, essentially making the entity follow the mouse positions.

    See Also

    Back to top

    .stopDrag()

    public this .stopDrag(void)

    Stop the entity from producing drag events, essentially reproducing the drop.

    See Also

    金沙娱东城官网