Picker
VerticalPicker
Root object. Component is not attached.
Glass,Frame
ColumnList
A list of columns. It has the following role.
Define the area where columns can be placed
Determine layout of multiple columns. (VerticalPicker has HorizontalLayoutGroup attached.)
Column
PickerScrollRect Setting Items
Note
Name |
Description |
---|---|
Content |
Object to be scrolled. Assignment is required. |
Layout |
Scroll direction. |
MovementType |
The behavior when content moves beyond the scroll rectangle.
Infinite: Loop infinitely.
Elastic: behaves like elastic.
Clamped: Stop.
|
Inertia |
Whether to keep the movement after dragging. |
Deceleration Rate |
The rate of movement speed reduction. Halve the speed by half with 0.5. |
Slip Velocity Rate |
Stop the slip and scroll to the nearest item if the speed falls below this percentage. |
Scroll Sensitivity |
Scroll sensitivity. |
Scroll Sec From Click |
When you tap an item, it takes time to scroll to that item. |
Wheel Effect |
Reproduces the visual effect of placing the item on the wheel. Reduce the size of the item according to the distance from the center of the Column. |
Initial Scroll Position |
Set the initial position of the scroll. |
Horizontal Scrollbar |
Scrollbar object linked to horizontal scroll. |
Vertical Scrollbar |
Scrollbar object linked to vertical scroll. |
When To Send Events |
Timing of sending an event.
Always: Sends an OnSelectItem event whenever an item is changed.
Only Scroll Stops: Send OnSelectItem events only when items have changed and scrolling has stopped.
|
On Select Item ( GameObject ) |
This is an event that will be called when the selected item is changed. The argument GameObject is the selected item. |
On Scroll Changed ( Vector2 ) |
This event is called when the scroll position changes. |