diff --git a/CheatEnabler/README.md b/CheatEnabler/README.md index 318a9ad..007e2b6 100644 --- a/CheatEnabler/README.md +++ b/CheatEnabler/README.md @@ -4,6 +4,9 @@ #### 添加一些作弊功能,同时屏蔽异常检测 ## Changlog +* 2.1.0 + + Belt signal item generation + + Fix window display priority which may cause tips to be covered by main window * 2.0.0 + Refactorying codes + UI implementation @@ -26,6 +29,7 @@ + Architect mode (Infinite buildings + Interactive without distance limit + Sunlight at night) + Build without condition + No collision + + Belt signal item generation + Planet: + Infinite Natural Resources + Fast Mining @@ -52,6 +56,9 @@ * [LSTM](https://github.com/hetima/DSP_LSTM) & [PlanetFinder](https://github.com/hetima/DSP_PlanetFinder): UI implementations ## 更新日志 +* 2.1.0 + + 传送带信号物品生成 + + 修复窗口显示优先级可能导致提示信息被主窗口遮挡的问题 * 2.0.0 + 重构代码 + UI实现 @@ -74,6 +81,7 @@ + 建筑师模式(无限建筑+无视距离操作+夜间日光灯) + 无条件建造 + 无碰撞 + + 传送带信号物品生成 + 行星: + 自然资源采集不消耗 + 高速采集 diff --git a/CheatEnabler/UI/MyWindow.cs b/CheatEnabler/UI/MyWindow.cs index 29d7f4c..5843171 100644 --- a/CheatEnabler/UI/MyWindow.cs +++ b/CheatEnabler/UI/MyWindow.cs @@ -29,6 +29,10 @@ public class MyWindow: ManualBehaviour public void Open() { _Open(); + } + + public override void _OnUpdate() + { transform.SetSiblingIndex(UIRoot.instance.uiMechaEditor.transform.GetSiblingIndex() + 1); } @@ -75,6 +79,7 @@ public class MyWindow: ManualBehaviour dst.gameObject.name = objName; var btn = dst.GetComponent(); Util.NormalizeRectWithTopLeft(btn, x, y, parent); + btn.tips.topLevel = true; btn.tips.tipTitle = label; btn.tips.tipText = tip; btn.UpdateTip(); diff --git a/CheatEnabler/UIConfigWindow.cs b/CheatEnabler/UIConfigWindow.cs index 3c8a203..51a47fa 100644 --- a/CheatEnabler/UIConfigWindow.cs +++ b/CheatEnabler/UIConfigWindow.cs @@ -262,6 +262,7 @@ public class UIConfigWindow : UI.MyWindowWithTabs public override void _OnUpdate() { + base._OnUpdate(); if (VFInput.escape && !VFInput.inputing) { VFInput.UseEscape();