Draw circle with CanvasRenderer(uGUI)
or MeshRenderer
.
- Lower Overdraw.
- No alpha texture required.
- Unity 2017.4.1f1 or later
- Scripting Runtime Version .NET 4.x Equivalent or later
- Open
Scenes/CricleGraphicSample
scene and run it. - Select
CircleGraphic
object underCircleGraphicCanvas
. - Tweak
CircleGraphic
component's parameters (OuterEdgesCount
,VisibleRate
,HoleRate
,Origin
andClockWise
).
- Open
Scenes/CircleMeshSample
scene and run it. - Select
CircleMesh
object. - Tweak
CircleMesh
component's parameters (OuterEdgesCount
,VisibleRate
,HoleRate
,AngleOffset
,ClockWise
,MeshWidth
andMesthHeight
).