Property | Type | Description | |
---|---|---|---|
cloneOnDrag | bool | ||
restriction | Restriction |
Property | Type | Description | |
---|---|---|---|
mButton | UIButton, | ||
mCollider | Collider | ||
mDragScrollView | UIDragScrollView, | ||
mGrid | UIGrid, | ||
mParent | Transform | ||
mPressTime | float | ||
mRoot | UIRoot, | ||
mTable | UITable, | ||
mTouchID | int | ||
mTrans | Transform |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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 | |
return | void |
protected OnDragDropRelease ( GameObject surface ) : void | ||
surface | GameObject | |
return | void |
protected UIDragScrollView, mDragScrollView | ||
return | UIDragScrollView, |