C# Class GuiBase_Draggable, UnderworldExporter

Draggable UI Elements
Inheritance: GuiBase
Show file Open project: hankmorgan/UnderworldExporter

Public Properties

Property Type Description
Dragging bool
rectT UnityEngine.RectTransform[]

Public Methods

Method Description
DragEnd ( ) : void

End the dragging of the element

DragStart ( ) : void

Starts the Drag

OnDrag ( BaseEventData evnt ) : void

Updates the position of the UI Elements in the list based on the mouse movement.

Start ( ) : void

Method Details

DragEnd() public method

End the dragging of the element
public DragEnd ( ) : void
return void

DragStart() public method

Starts the Drag
public DragStart ( ) : void
return void

OnDrag() public method

Updates the position of the UI Elements in the list based on the mouse movement.
public OnDrag ( BaseEventData evnt ) : void
evnt UnityEngine.EventSystems.BaseEventData Evnt.
return void

Start() public method

public Start ( ) : void
return void

Property Details

Dragging public property

Is the control currently being dragged.
public bool Dragging
return bool

rectT public property

List of RectTransforms that move with this element. Includes this UI element.
public RectTransform[],UnityEngine rectT
return UnityEngine.RectTransform[]