Свойство | Тип | Описание | |
---|---|---|---|
cloneOnDrag | bool | ||
restriction | Restriction |
Свойство | Тип | Описание | |
---|---|---|---|
mButton | UIButton, | ||
mCollider | Collider | ||
mDragScrollView | UIDragScrollView, | ||
mGrid | UIGrid, | ||
mParent | Transform | ||
mPressTime | float | ||
mRoot | UIRoot, | ||
mTable | UITable, | ||
mTouchID | int | ||
mTrans | Transform |
Метод | Описание | |
---|---|---|
OnDrag ( Vector2 delta ) : void |
Perform the dragging.
|
|
OnDragEnd ( ) : void |
Notification sent when the drag event has ended.
|
|
OnDragStart ( ) : void |
Start the dragging operation.
|
|
OnPress ( bool isPressed ) : void |
Record the time the item was pressed on.
|
Метод | Описание | |
---|---|---|
OnDragDropMove ( Vector3 delta ) : void |
Adjust the dragged object's position.
|
|
OnDragDropRelease ( GameObject surface ) : void |
Drop the item onto the specified object.
|
|
OnDragDropStart ( ) : void |
Perform any logic related to starting the drag & drop operation.
|
|
Start ( ) : void |
Cache the transform.
|
protected OnDragDropMove ( Vector3 delta ) : void | ||
delta | Vector3 | |
Результат | void |
protected OnDragDropRelease ( GameObject surface ) : void | ||
surface | GameObject | |
Результат | void |
protected UIDragScrollView, mDragScrollView | ||
Результат | UIDragScrollView, |