Dynamic Stepper UI
Last updated
Last updated
The Dynamic Stepper UI provides a circular value selection, automatically cycling back to the first option after the last one is reached. Selection can be controlled using Button components or via Instructions.
Name | Description |
---|---|
Target
A game object that will be passed onto the 'On Selection Change' instructions as the target.
Text Current Number
Reference to a Text or Text Mesh Pro component responsible for displaying the current position number of the selected value. It is optional.
Text Total Number
Reference to a Text or Text Mesh Pro component responsible for displaying the total number of values. It is optional.
Button Next
Reference to a button component responsible for selecting the next value from the currently selected value. It is optional.
Button Prev
Reference to a button component responsible for selecting the previous value from the currently selected value. It is optional.
Button First
Reference to a button component responsible for selecting the first value. It is optional.
Button Last
Reference to a button component responsible for selecting the last value. It is optional.
Value List
The Value List containing a collection of values to be iterated through by the Dynamic Stepper UI.
Initial Selected Index
An index position of the value that will sets as the initial selection.
Notify Selection Change
Whether to initially run the instructions within the 'On Selection Change' on start.
Cache Selection
An options to whether save the selection or not after fetching the Value List.
Forget
Always lose the selection after fetching the Value List.
Preserve Index
Retain and recall the selected index after fetching the Value List, if it still exists. Cache index will persist until selection is changed.
Preserve Value
Retain and recall the selected value after fetching the Value List, if it still exists. Cache value will persist until selection is changed.
Selection When Lost
An options for what to select when the selection is lost after fetching the Value List. This won't notify On Selection Change
On Selection Change
List of instructions that will be executed when the value selection is changed.