Skip to content

Adds UnityEngine.UI.Slider Component#87

Open
dassjosh wants to merge 1 commit intoFacepunch:masterfrom
dassjosh:slider
Open

Adds UnityEngine.UI.Slider Component#87
dassjosh wants to merge 1 commit intoFacepunch:masterfrom
dassjosh:slider

Conversation

@dassjosh
Copy link

@dassjosh dassjosh commented Feb 7, 2026

  • Adds new UnityEngine.UI.Slider type
  • Supports using existing UI elements as the handle via the handle.handleId field (Optional)
  • Supports updating a Text with the current slider Value via the text.textId field (Optional)
    • A text.format field can be provided to format the value of the slider. Default is "{0:0.00}"
  • Supports Toggling a UI element on when the handle starts being dragged and off when it stops being dragged (Optional)
  • Sends the value of the slider as a command when it starts being dragged and stops being dragged (Optional)

Examples are provided of all the different modes and options in the Tests\SliderTests.json file

Adds new UnityEngine.UI.Slider type
Supports using existing UI elements as the handle
Supports updating a Text with the current slider Value
Support Toggling a UI element on / off while the slider is being dragged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant