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
  • UpdateValue (int newValue)
  • UpdateValue (float newValue)
  • UpdateValue ()

Was this helpful?

  1. UI
  2. Slider
  3. Script documentation

UpdateValue

Method in Slider.cs

PreviousScript documentationNextIncreaseValue

Last updated 1 year ago

Was this helpful?

UpdateValue (int newValue)

This is the same as setting the CurrentValue directly.

UpdateValue (float newValue)

This is the same as setting the CurrentValue directly.

UpdateValue ()

This is the same as setting the CurrentValue to its current value. This can be used to update the slider's graphic and call the appropriate events in case they weren't called without actually changing the CurrentValue.

Script documentation