Script documentation
HorizontalSelector.cs in TinyGiantStudio.Text namespace
If anything except method names starts with a capital letter, it's a property.
Utility
Variables
Variable
Type
Description
text
Modular3DText
focused
bool
interactable
bool
options
List<strings>
Value
int
Currently selected option
valueChangeSoundEffect
AudioClip
audioSource
AudioSource
Methods
Method
Description
Increase ()
Decrease ()
UpdateText ()
Updates the text to reflect changes in options.
Focus (bool enable)
Events
Variable
Type
Description
onSelectEvent
UnityEvent
onValueChangedEvent
UnityEvent
onValueIncreasedEvent
UnityEvent
onValueDecreasedEvent
UnityEvent
Version History
v4.0.3 (June 2, 2023)
bool
selected
renamed tofocus
for consistency with the rest of the asset about what it does
Last updated