MassivePickerItem
It is a component attached to the item stored in MassivePicker.
Create a class that inherits this component and implements SetItemContetns().
Name |
Description |
---|---|
SetItemContents( MassivePickerScrollRect scrollRect, int itemIndex ) |
Set the contents of the item.
This function is called automatically in response to scrolling.
Please implement this function in the component which MassivePickerItem is inherited.
|
Note
SetItemContents is implemented by the following class. Please refer to it.
ExampleCountryNameItem
ExampleMassiveStringItem
ExampleStringItem
MonthItem
YearItem
Name |
Description |
---|---|
onClick |
An event sent when an item is tapped or clicked.
For more information about events, please see https://docs.unity3d.com/Manual/UnityEvents.html .
|
Name |
Description |
---|---|
itemIndex |
The index of the item. |
Name |
Description |
---|---|
userData |
Arbitrary data can be set variables. |