C# Class UIDragPanelContents, Prototype

Inheritance: MonoBehaviour
Afficher le fichier Open project: Lifespark/Prototype Class Usage Examples

Méthodes publiques

Свойство Type Description
draggablePanel UIDraggablePanel,

Méthodes publiques

Méthode Description
Awake ( ) : void

Backwards compatibility.

OnDrag ( Vector2, delta ) : void

Drag the object along the plane.

OnPress ( bool pressed ) : void

Create a plane on which we will be performing the dragging.

OnScroll ( float delta ) : void

If the object should support the scroll wheel, do it.

Start ( ) : void

Automatically find the draggable panel if possible.

Method Details

Awake() public méthode

Backwards compatibility.
public Awake ( ) : void
Résultat void

OnDrag() public méthode

Drag the object along the plane.
public OnDrag ( Vector2, delta ) : void
delta Vector2,
Résultat void

OnPress() public méthode

Create a plane on which we will be performing the dragging.
public OnPress ( bool pressed ) : void
pressed bool
Résultat void

OnScroll() public méthode

If the object should support the scroll wheel, do it.
public OnScroll ( float delta ) : void
delta float
Résultat void

Start() public méthode

Automatically find the draggable panel if possible.
public Start ( ) : void
Résultat void

Property Details

draggablePanel public_oe property

This panel's contents will be dragged by the script.
public UIDraggablePanel, draggablePanel
Résultat UIDraggablePanel,