In case you are building a game that need a speed controller UI such as a Slider in Unity, this example may be useful to you.
In this example, first I tried to show you how to basically work with Unity Slider and how to get it’s value that ranges between 0 to 1.
Then I applied that basic knowledge on a scene with a moving object there and use the slider to control that object’s movement speed.
You can download my Unity package here in this link:
https://drive.google.com/file/d/1BZycqtIhdOj38hYT5Yot41IBIBrIO5sz/view?usp=sharing
loading...