Added SetArc method to UICircle as requested
Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/280pull/413/head
parent
35c778f5f7
commit
2a37530aea
|
@ -155,6 +155,12 @@ namespace UnityEngine.UI.Extensions
|
||||||
SetVerticesDirty();
|
SetVerticesDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetArc(float arc)
|
||||||
|
{
|
||||||
|
Arc = arc;
|
||||||
|
SetVerticesDirty();
|
||||||
|
}
|
||||||
|
|
||||||
public void SetArcSteps(int steps)
|
public void SetArcSteps(int steps)
|
||||||
{
|
{
|
||||||
ArcSteps = steps;
|
ArcSteps = steps;
|
||||||
|
|
Loading…
Reference in New Issue