Added SetArc method to UICircle as requested

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/280
pull/413/head
Simon Jackson 2022-12-24 12:49:39 +00:00
parent 35c778f5f7
commit 2a37530aea
1 changed files with 6 additions and 0 deletions

View File

@ -155,6 +155,12 @@ namespace UnityEngine.UI.Extensions
SetVerticesDirty();
}
public void SetArc(float arc)
{
Arc = arc;
SetVerticesDirty();
}
public void SetArcSteps(int steps)
{
ArcSteps = steps;