May
17
2015

Radial Slider UI Test

unity_radial_ui_slider

Quick test for radial UI slider, with color lerp & value display.

TODO:
– Allow starting from any angle (now 0 is at left middle)
– Options: Value display on/off, Color lerp on/off
– And other features from : http://anthonyterrien.com/knob/

WebGL player:
http://unitycoder.com/upload/demos/RadialSliderUI/

Sources:
radialsliderUI.unitypackage (*Unity 5.0.1f1)

How to:
– Track mouse position over image when mousebutton is down
– Get angle from center
– Adjust image fill amount (with fill method: Radial360)

References:
– Related forum topic: http://forum.unity3d.com/threads/radial-slider-circle-slider.326392/
– Getting mouse position over UI component: http://forum.unity3d.com/threads/eventtrigger-move-issue.325103/#post-2114563


1 Comment + Add Comment

  • […] Radial Slider Bar for Unity UI (Optional) If you stream from any video link, you must show a menu radial slider bar which shows the progress of the download, as it will take some time to play: Here is the link of the Radial Slider package developed by “mgear” unity user:Radial Slider by mgear with values and lerp feature […]

Leave a comment

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.