UIDragDropItem is a base script for your own Drag & Drop operations.
More...
|
Restriction | restriction = Restriction.None |
| What kind of restriction is applied to the drag & drop logic before dragging is made possible. More...
|
|
bool | cloneOnDrag = false |
| Whether a copy of the item will be dragged instead of the item itself. More...
|
|
float | pressAndHoldDelay = 1f |
| How long the user has to press on an item before the drag action activates. More...
|
|
UIDragDropItem is a base script for your own Drag & Drop operations.
Enumerator |
---|
None |
|
Horizontal |
|
Vertical |
|
PressAndHold |
|
IEnumerator UIDragDropItem.EnableDragScrollView |
( |
| ) |
|
|
protected |
virtual void UIDragDropItem.OnDragDropMove |
( |
Vector3 |
delta | ) |
|
|
protectedvirtual |
Adjust the dragged object's position.
virtual void UIDragDropItem.OnDragDropRelease |
( |
GameObject |
surface | ) |
|
|
protectedvirtual |
virtual void UIDragDropItem.OnDragDropStart |
( |
| ) |
|
|
protectedvirtual |
Perform any logic related to starting the drag & drop operation.
virtual void UIDragDropItem.Start |
( |
| ) |
|
|
protectedvirtual |
bool UIDragDropItem.cloneOnDrag = false |
Whether a copy of the item will be dragged instead of the item itself.
Collider UIDragDropItem.mCollider |
|
protected |
Collider2D UIDragDropItem.mCollider2D |
|
protected |
Transform UIDragDropItem.mParent |
|
protected |
float UIDragDropItem.mPressTime = 0f |
|
protected |
int UIDragDropItem.mTouchID = int.MinValue |
|
protected |
Transform UIDragDropItem.mTrans |
|
protected |
float UIDragDropItem.pressAndHoldDelay = 1f |
How long the user has to press on an item before the drag action activates.
Restriction UIDragDropItem.restriction = Restriction.None |
What kind of restriction is applied to the drag & drop logic before dragging is made possible.
The documentation for this class was generated from the following file: