mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-09 02:53:29 +08:00
fix
This commit is contained in:
@@ -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 @@
|
||||
+ 建筑师模式(无限建筑+无视距离操作+夜间日光灯)
|
||||
+ 无条件建造
|
||||
+ 无碰撞
|
||||
+ 传送带信号物品生成
|
||||
+ 行星:
|
||||
+ 自然资源采集不消耗
|
||||
+ 高速采集
|
||||
|
||||
@@ -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<UIButton>();
|
||||
Util.NormalizeRectWithTopLeft(btn, x, y, parent);
|
||||
btn.tips.topLevel = true;
|
||||
btn.tips.tipTitle = label;
|
||||
btn.tips.tipText = tip;
|
||||
btn.UpdateTip();
|
||||
|
||||
@@ -262,6 +262,7 @@ public class UIConfigWindow : UI.MyWindowWithTabs
|
||||
|
||||
public override void _OnUpdate()
|
||||
{
|
||||
base._OnUpdate();
|
||||
if (VFInput.escape && !VFInput.inputing)
|
||||
{
|
||||
VFInput.UseEscape();
|
||||
|
||||
Reference in New Issue
Block a user