Modular 3D Text
  • ✉️Contact Support
  • ⭐Read me first
  • Introduction
    • ⚡Namespace
    • ⚡Assembly Definition
    • ⚡Scripting define symbol
    • 3D UI for XR
      • Internal documentation
  • Text
    • Modular 3D Text
      • Script documentation
        • UpdateText
        • MeshPostProcess
        • Internal Documentation
    • Text Updater
    • Fonts
      • Creating fonts
        • Troubleshoot
      • Letter
  • Input
    • Button/Key
      • Button Input System
      • Button Input Processor
    • Mouse/Touch
      • Raycast Selector
      • Raycast Input Processor
    • Troubleshoot
  • Modules
    • Modules
  • UI
    • List
      • Script documentation
    • Button
      • Script documentation
    • Toggle
      • Script documentation
    • Slider
      • Script documentation
        • UpdateValue
        • IncreaseValue
        • DecreaseValue
      • SliderHandle
    • Input Field
      • Script documentation
        • UpdateText
        • ContentType
    • Horizontal Selector
      • Script documentation
  • Layout System
  • Modules
  • Package Importer
  • Utility
    • UI States
    • Asset Settings
  • Version History
Powered by GitBook
On this page
  • Utility
  • Variables
  • Methods
  • Events
  • Version History
  • v4.0.3 (June 2, 2023)

Was this helpful?

  1. UI
  2. Horizontal Selector

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 to focus for consistency with the rest of the asset about what it does

PreviousHorizontal SelectorNextUI States

Last updated 2 years ago

Was this helpful?