Hello,
I'm trying to make volume sliders in a window, and I'm wondering how to make a button or static control dragable?
The way I did it for a torn note puzzle was to have a loop on "LeftClick" which positioned the note pieces wherever the mouse cursor was, and then on "LeftRelease" locked them into a position.
I was thinking I would make my volume sliders in a similar way, but the difference is the torn note was in a scene, whereas my volume sliders are in a window.
So, can button or static controls have LeftClick and LeftRelease handlers somehow - maybe in their own scripts? I haven't come across this, as normally the window has a script, and it's just on "ButtonName" to do something, but I don't see how I could do what I want, with just that.
Thanks.