Script documentation
HorizontalSelector.cs in TinyGiantStudio.Text namespace
Last updated
HorizontalSelector.cs in TinyGiantStudio.Text namespace
Last updated
Variable | Type | Description |
---|---|---|
text
Modular3DText
focused
bool
interactable
bool
options
List<strings>
Value
int
Currently selected option
valueChangeSoundEffect
AudioClip
audioSource
AudioSource
Increase ()
Decrease ()
UpdateText ()
Updates the text to reflect changes in options.
Focus (bool enable)
onSelectEvent
UnityEvent
onValueChangedEvent
UnityEvent
onValueIncreasedEvent
UnityEvent
onValueDecreasedEvent
UnityEvent