{"id":3840,"date":"2015-05-17T23:21:36","date_gmt":"2015-05-17T20:21:36","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=3840"},"modified":"2015-05-19T22:31:47","modified_gmt":"2015-05-19T19:31:47","slug":"radial-slider-ui-test","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2015\/05\/17\/radial-slider-ui-test\/","title":{"rendered":"Radial Slider UI Test"},"content":{"rendered":"<p><a href=\"http:\/\/unitycoder.com\/upload\/demos\/RadialSliderUI\/\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3844\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/05\/17\/radial-slider-ui-test\/unity_radial_ui_slider\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/unity_radial_ui_slider.jpg?fit=680%2C485&amp;ssl=1\" data-orig-size=\"680,485\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"unity_radial_ui_slider\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/unity_radial_ui_slider.jpg?fit=680%2C485&amp;ssl=1\" class=\"alignnone size-full wp-image-3844\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/unity_radial_ui_slider.jpg?resize=680%2C485\" alt=\"unity_radial_ui_slider\" width=\"680\" height=\"485\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/unity_radial_ui_slider.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/unity_radial_ui_slider.jpg?resize=300%2C214&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p>Quick test for radial UI slider, with color lerp &amp; value display.<\/p>\n<p><strong>TODO:<\/strong><br \/>\n&#8211; Allow starting from any angle (now 0 is at left middle)<br \/>\n&#8211; Options: Value display on\/off, Color lerp on\/off<br \/>\n&#8211; And other features from : <a href=\"http:\/\/anthonyterrien.com\/knob\/\" target=\"_blank\">http:\/\/anthonyterrien.com\/knob\/<\/a><\/p>\n<p><strong>WebGL player:<\/strong><br \/>\n<a href=\"http:\/\/unitycoder.com\/upload\/demos\/RadialSliderUI\/\" target=\"_blank\">http:\/\/unitycoder.com\/upload\/demos\/RadialSliderUI\/<\/a><\/p>\n<p><strong>Sources:<\/strong><br \/>\n<a href=\"http:\/\/unitycoder.com\/download\/index2.php?link=1599&amp;uid=un1t3c0d5r\"> radialsliderUI.unitypackage<\/a> (*Unity 5.0.1f1)<\/p>\n<p><strong>How to:<\/strong><br \/>\n&#8211; Track mouse position over image when mousebutton is down<br \/>\n&#8211; Get angle from center<br \/>\n&#8211; Adjust image fill amount (with fill method: Radial360)<\/p>\n<p><strong>References:<\/strong><br \/>\n&#8211; Related forum topic: <a href=\"http:\/\/forum.unity3d.com\/threads\/radial-slider-circle-slider.326392\/\" target=\"_blank\">http:\/\/forum.unity3d.com\/threads\/radial-slider-circle-slider.326392\/<\/a><br \/>\n&#8211; Getting mouse position over UI component: <a href=\"http:\/\/forum.unity3d.com\/threads\/eventtrigger-move-issue.325103\/#post-2114563\" target=\"_blank\">http:\/\/forum.unity3d.com\/threads\/eventtrigger-move-issue.325103\/#post-2114563<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quick test for radial UI slider, with color lerp &amp; value display. TODO: &#8211; Allow starting from any angle (now 0 is at left middle) &#8211; Options: Value display on\/off, Color lerp on\/off &#8211; And other features from : http:\/\/anthonyterrien.com\/knob\/ WebGL player: http:\/\/unitycoder.com\/upload\/demos\/RadialSliderUI\/ Sources: radialsliderUI.unitypackage [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3844,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4,3],"tags":[393,745,746,650],"class_list":["post-3840","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-unity3d","tag-circular","tag-radial","tag-slider","tag-ui"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/05\/unity_radial_ui_slider.jpg?fit=680%2C485&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-ZW","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/3840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=3840"}],"version-history":[{"count":9,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/3840\/revisions"}],"predecessor-version":[{"id":3852,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/3840\/revisions\/3852"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/3844"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=3840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=3840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=3840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}