프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 OnDragDropRelease ( GameObject surface ) : void | ||
surface | GameObject | |
리턴 | void |