Skip to content

Commit e6ab42c

Browse files
committed
Update Examples
1 parent 5fd4875 commit e6ab42c

File tree

112 files changed

+281
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+281
-242
lines changed

Assets/Examples/Basics/BasicsMain.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -157,23 +157,6 @@ private void PlayGraph()
157157
shape.graphics.SetMeshDirty();
158158
shape.graphics.texture = (NTexture)UIPackage.GetItemAsset("Basics", "change");
159159

160-
shape = obj.GetChild("polygon").asGraph.shape;
161-
shape.DrawPolygon(new Vector2[] {
162-
new Vector2(20, 30),
163-
new Vector2(80, 40),
164-
new Vector2(80, 15),
165-
new Vector2(140, 50),
166-
new Vector2(80, 85),
167-
new Vector2(80, 60),
168-
new Vector2(20, 70)
169-
}, shape.color);
170-
171-
shape = obj.GetChild("polygon2").asGraph.shape;
172-
shape.DrawRegularPolygon(5, 2, Color.yellow, Color.black, shape.color, -18, null);
173-
174-
shape = obj.GetChild("radial").asGraph.shape;
175-
shape.DrawRegularPolygon(6, 2, shape.color, new Color32(0xFF, 0x99, 0x00, 128), shape.color, 0, new float[] { 0.6f, 0.8f, 0.6f, 0.8f, 0.6f, 0.5f });
176-
177160
shape = obj.GetChild("line").asGraph.shape;
178161
LineMesh line = shape.graphics.GetMeshFactory<LineMesh>();
179162
line.lineWidthCurve = AnimationCurve.Linear(0, 25, 1, 10);

Assets/Examples/ModalWaiting/GlobalWaiting.cs

Lines changed: 0 additions & 25 deletions
This file was deleted.

Assets/Examples/ModalWaiting/GlobalWaiting.cs.meta

Lines changed: 0 additions & 12 deletions
This file was deleted.

Assets/Examples/ModalWaiting/ModalWaitingMain.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ void Awake()
1212
UIPackage.AddPackage("UI/ModalWaiting");
1313
UIConfig.globalModalWaiting = "ui://ModalWaiting/GlobalModalWaiting";
1414
UIConfig.windowModalWaiting = "ui://ModalWaiting/WindowModalWaiting";
15-
16-
UIObjectFactory.SetPackageItemExtension("ui://ModalWaiting/GlobalModalWaiting", typeof(GlobalWaiting));
1715
}
1816

1917
void Start()
4.06 KB
191 Bytes
Binary file not shown.
-43.1 KB
2.38 KB
Binary file not shown.
-22 Bytes
22 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)