Initial Code

This commit is contained in:
Exil Productions
2025-11-11 03:10:52 +01:00
commit 74e53205f4
21 changed files with 2039 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using UnityEngine;
using UnityEngine.UI;
namespace VMM.UI.Components
{
internal class UILayoutRebuilder : MonoBehaviour
{
RectTransform parentRect;
void OnEnable()
{
if(parentRect == null)
{
parentRect = transform.parent.GetComponent<RectTransform>();
}
LayoutRebuilder.ForceRebuildLayoutImmediate(parentRect);
}
}
}