fix radial triangle add order(#384)

pull/475/head
bluefallsky 2024-04-28 20:48:09 +09:00
parent 35b9985bf2
commit 86744455f1
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ namespace UnityEngine.UI.Extensions
helper.AddVert(centralVertex);
for (int i = 1; i < steps; i++) helper.AddTriangle(i - 1, i, steps);
for (int i = 1; i < steps; i++) helper.AddTriangle(i, i-1, steps);
helper.AddTriangle(0, steps - 1, steps);
}