C# Class GuiBase_Draggable, UnderworldExporter

Draggable UI Elements
Inheritance: GuiBase
Afficher le fichier Open project: hankmorgan/UnderworldExporter

Méthodes publiques

Свойство Type Description
Dragging bool
rectT UnityEngine.RectTransform[]

Méthodes publiques

Méthode 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 méthode

End the dragging of the element
public DragEnd ( ) : void
Résultat void

DragStart() public méthode

Starts the Drag
public DragStart ( ) : void
Résultat void

OnDrag() public méthode

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.
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

Dragging public_oe property

Is the control currently being dragged.
public bool Dragging
Résultat bool

rectT public_oe property

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