UXAssist: add buttons to apply logistics auto-config to current planet's facilities

This commit is contained in:
soarqin committed 2026-06-16 03:37:55 +08:00
1 parent 79dea142de
commit ffd8b91930
5 files changed
+315 -65

No files matched your search

+9
View File
@@ -79,6 +79,15 @@ public class MyFlatButton : MonoBehaviour
return this;
}
public MyFlatButton WithFontSize(int fontSize)
{
if (labelText != null)
{
labelText.fontSize = fontSize;
}
return this;
}
public MyFlatButton WithTip(string tip, float delay = 1f)
{
uiButton.tips.type = UIButton.ItemTipType.Other;