Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Slider handle - drag and click functionality

$
0
0
Is there a way to use a slider's handle as a button? When I click on it, it should call a script method. When I drag it, it should change the slider value.
I tried parenting the button to the handle but this disabled the dragging functionality. I tried adding an event to the handle with the Event Trigger but this disabled the dragging functionality..

Thanks.

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>