1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-06-21 10:31:22 +08:00

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

This commit is contained in:
2026-06-16 03:37:55 +08:00
parent 79dea142de
commit ffd8b91930
5 changed files with 315 additions and 65 deletions
+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;