fix(UXAssist): reset cloned UI state

This commit is contained in:
soarqin committed 2026-09-02 18:47:37 +08:00
1 parent f611f2f9b3
commit 574919f1f0
21 files changed
+308 -58

No files matched your search

+3
View File
@@ -78,6 +78,9 @@ internal static class AutoConstructUI
ConstructCountText.color = new Color(1f, 1f, 1f, 0.4f);
ConstructCountText.alignment = TextAnchor.MiddleLeft;
ConstructCountText.fontSize = 16;
ConstructCountText.fontStyle = FontStyle.Normal;
ConstructCountText.horizontalOverflow = HorizontalWrapMode.Overflow;
ConstructCountText.verticalOverflow = VerticalWrapMode.Overflow;
rectTrans = ConstructCountText.rectTransform;
rectTrans.SetParent(ConstructCountPanel.transform);
rectTrans.sizeDelta = new Vector2(150f, 20f);