17
2015
Radial Slider UI Test
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
Related Posts
4 Comments + Add Comment
Leave a comment
Recent posts
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
Recent Comments
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- ffmpeg stream raw video into Unity Texture2D on
[…] 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 […]
Customizable radial progress bar shader for Unity3D
https://github.com/AdultLink/RadialProgressBar
you save mi life!. Good job
Thank you for creating it. It works so well!