C# Класс UIDragPanelContents, Prototype

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
draggablePanel UIDraggablePanel,

Открытые методы

Метод Описание
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.

Описание методов

Awake() публичный Метод

Backwards compatibility.
public Awake ( ) : void
Результат void

OnDrag() публичный Метод

Drag the object along the plane.
public OnDrag ( Vector2, delta ) : void
delta Vector2,
Результат void

OnPress() публичный Метод

Create a plane on which we will be performing the dragging.
public OnPress ( bool pressed ) : void
pressed bool
Результат void

OnScroll() публичный Метод

If the object should support the scroll wheel, do it.
public OnScroll ( float delta ) : void
delta float
Результат void

Start() публичный Метод

Automatically find the draggable panel if possible.
public Start ( ) : void
Результат void

Описание свойств

draggablePanel публичное свойство

This panel's contents will be dragged by the script.
public UIDraggablePanel, draggablePanel
Результат UIDraggablePanel,