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

Add side slider for future use

This commit is contained in:
2025-04-20 15:46:22 +08:00
parent 3c8f258a1b
commit f32b11f49a
9 changed files with 282 additions and 66 deletions

View File

@@ -85,7 +85,7 @@ public static class UIConfigWindow
sl2.OnValueChanged += () =>
{
var val = EpicDifficulty.IndexToOilMultiplier(Mathf.RoundToInt(sl2.Value));
EpicDifficulty.OilMultiplier.Value = val;
EpicDifficulty.OilMultiplier.Value = val;
sl2.SetLabelText(val.ToString(sl2.labelFormat));
};
var tab2 = wnd.AddTab(_windowTrans, "Birth Star");