Add side slider for future use

This commit is contained in:
soarqin committed 2025-04-20 15:46:22 +08:00
1 parent 3c8f258a1b
commit f32b11f49a
9 files changed
+282 -66

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ public static class Util
rect.anchoredPosition3D = new Vector3(left, -top, 0f);
return rect;
}
public static RectTransform NormalizeRectWithBottomLeft(Component cmp, float left, float bottom, Transform parent = null)
{
if (cmp.transform is not RectTransform rect) return null;