Update to Berry Dash 1.8.2!

This commit is contained in:
Lncvrt committed 2025-10-29 18:15:09 -07:00
1 parent a2d664febd
commit 5f774a4837
140 files changed
+32883 -3840

No files matched your search

+6
View File
@@ -78,4 +78,10 @@ public static class Tools
Sprite sprite = Sprite.Create(tex, new Rect(0, 0, tex.width, tex.height), new UnityEngine.Vector2(0.5f, 0.5f));
targetImage.sprite = sprite;
}
public static void RefreshHierarchy(GameObject root)
{
foreach (Transform child in root.transform) RefreshHierarchy(child.gameObject);
if (root.TryGetComponent<RectTransform>(out var rect)) LayoutRebuilder.ForceRebuildLayoutImmediate(rect);
}
}