• Home
  • Documentation
  • Guides
  • FAQ
  • Get Essential UI Pack
Search Results for

    Show / Hide Table of Contents
    • LlamaSoftware.UI
      • ButtonClickSoundPlayer
      • Draggable
      • EUIPButton
      • EUIPButton.ButtonLabelStyle
      • EUIPSlider
      • EUIPSlider.DisplayFormat
      • InputFieldSliderValueDisplay
      • MenuController
      • MultiValueToggle
      • MultiValueToggleArrow
      • MultiValueToggleArrow.OnPointerUpCallback
      • Page
      • Popover
      • ProgressBar
      • ScrollViewZoomFixer
      • SliderValueDisplay
      • SliderValueSetter
      • Spinner
      • UIAnimationConstants
      • UIAnimationConstants.Direction
      • UIAnimationConstants.EntryMode
    • LlamaSoftware.UI.Tabs
      • TabbedPanel
      • TabbedPanel.ChangeTabEvent
      • TabbedPanelContent
      • TabbedPanelHeader
    • LlamaSoftware.UI.Utility
      • CornersUIGradient
      • RotatableLinearUIGradient
      • SimpleProgressBar
      • TextUpdatingProgressBar
      • UIGradientUtils
      • UIGradientUtils.Matrix2x3

    Class SliderValueDisplay

    Displays the value of a Slider on a TextMeshProUGUI component. Bind SetText(Single) to the OnChange event of a Slider.

    Inheritance
    System.Object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    SliderValueDisplay
    Namespace: LlamaSoftware.UI
    Assembly: LlamaSoftware.UI.dll
    Syntax
    [RequireComponent(typeof(TextMeshProUGUI))]
    [Obsolete("SliderValueDisplay is no longer required. Use EUIPSlider that includes this functionality out of the box without any manual input.")]
    public class SliderValueDisplay : MonoBehaviour

    Fields

    Decimals

    Number of decimals to display

    Declaration
    public int Decimals
    Field Value
    Type Description
    System.Int32

    Methods

    SetText(Single)

    Bind to the OnChange event of a Slider. Will set the TextMeshProUGUI text to the value passed in.

    Declaration
    public void SetText(float value)
    Parameters
    Type Name Description
    System.Single value

    Value to display

    In This Article
    Back to top Generated by DocFX