1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 04:53:30 +08:00

UXAssist: add a minor option to auto logistics config

This commit is contained in:
2025-06-04 11:44:13 +08:00
parent 17aca89249
commit a9286d2839
4 changed files with 40 additions and 4 deletions

View File

@@ -490,8 +490,8 @@ public class MyWindowWithTabs : MyWindow
var textTrans = btn.transform.Find("Text");
var btnText = textTrans.GetComponent<Text>();
var shadow = textTrans.GetComponent<Shadow>() ?? textTrans.gameObject.AddComponent<Shadow>();
shadow.effectColor = new Color(0f, 0f, 0f, 0.6f);
shadow.effectDistance = new Vector2(1f, -2f);
shadow.effectColor = new Color(0f, 0f, 0f, 0.4f);
shadow.effectDistance = new Vector2(1f, -1f);
btnText.text = label.Translate();
btnText.fontSize = 16;
btn.data = index;