Search Unity

Unity UI Pie Chart / Fraction Circles

Discussion in 'UGUI & TextMesh Pro' started by BubyMB, Jan 21, 2018.

  1. BubyMB

    BubyMB

    Joined:
    Jun 6, 2016
    Posts:
    140
    Hey guys, I had a great idea in my head for an interactive pie chart sort of thing but as soon as i jumped on Unity i realised I had no idea how to draw circles on ui; Is it possible to draw primitives onto ui? and also is it possible to only draw fracitons of it say 20% then i would progressively make more parts of it to make a full circle. I did some research in the docs but all i could find was Handles.DrawSolidArc and afaik that is only used in objects and not ui. I've also seen some 'solutions' to just render a quater or how every much your need of an image, but that is not very flexible.
     
    Last edited: Jan 21, 2018