mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-09 12:53:34 +08:00
fix
This commit is contained in:
@@ -4,6 +4,9 @@
|
|||||||
#### 添加一些作弊功能,同时屏蔽异常检测
|
#### 添加一些作弊功能,同时屏蔽异常检测
|
||||||
|
|
||||||
## Changlog
|
## 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
|
* 2.0.0
|
||||||
+ Refactorying codes
|
+ Refactorying codes
|
||||||
+ UI implementation
|
+ UI implementation
|
||||||
@@ -26,6 +29,7 @@
|
|||||||
+ Architect mode (Infinite buildings + Interactive without distance limit + Sunlight at night)
|
+ Architect mode (Infinite buildings + Interactive without distance limit + Sunlight at night)
|
||||||
+ Build without condition
|
+ Build without condition
|
||||||
+ No collision
|
+ No collision
|
||||||
|
+ Belt signal item generation
|
||||||
+ Planet:
|
+ Planet:
|
||||||
+ Infinite Natural Resources
|
+ Infinite Natural Resources
|
||||||
+ Fast Mining
|
+ Fast Mining
|
||||||
@@ -52,6 +56,9 @@
|
|||||||
* [LSTM](https://github.com/hetima/DSP_LSTM) & [PlanetFinder](https://github.com/hetima/DSP_PlanetFinder): UI implementations
|
* [LSTM](https://github.com/hetima/DSP_LSTM) & [PlanetFinder](https://github.com/hetima/DSP_PlanetFinder): UI implementations
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
* 2.1.0
|
||||||
|
+ 传送带信号物品生成
|
||||||
|
+ 修复窗口显示优先级可能导致提示信息被主窗口遮挡的问题
|
||||||
* 2.0.0
|
* 2.0.0
|
||||||
+ 重构代码
|
+ 重构代码
|
||||||
+ UI实现
|
+ UI实现
|
||||||
@@ -74,6 +81,7 @@
|
|||||||
+ 建筑师模式(无限建筑+无视距离操作+夜间日光灯)
|
+ 建筑师模式(无限建筑+无视距离操作+夜间日光灯)
|
||||||
+ 无条件建造
|
+ 无条件建造
|
||||||
+ 无碰撞
|
+ 无碰撞
|
||||||
|
+ 传送带信号物品生成
|
||||||
+ 行星:
|
+ 行星:
|
||||||
+ 自然资源采集不消耗
|
+ 自然资源采集不消耗
|
||||||
+ 高速采集
|
+ 高速采集
|
||||||
|
|||||||
@@ -29,6 +29,10 @@ public class MyWindow: ManualBehaviour
|
|||||||
public void Open()
|
public void Open()
|
||||||
{
|
{
|
||||||
_Open();
|
_Open();
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void _OnUpdate()
|
||||||
|
{
|
||||||
transform.SetSiblingIndex(UIRoot.instance.uiMechaEditor.transform.GetSiblingIndex() + 1);
|
transform.SetSiblingIndex(UIRoot.instance.uiMechaEditor.transform.GetSiblingIndex() + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -75,6 +79,7 @@ public class MyWindow: ManualBehaviour
|
|||||||
dst.gameObject.name = objName;
|
dst.gameObject.name = objName;
|
||||||
var btn = dst.GetComponent<UIButton>();
|
var btn = dst.GetComponent<UIButton>();
|
||||||
Util.NormalizeRectWithTopLeft(btn, x, y, parent);
|
Util.NormalizeRectWithTopLeft(btn, x, y, parent);
|
||||||
|
btn.tips.topLevel = true;
|
||||||
btn.tips.tipTitle = label;
|
btn.tips.tipTitle = label;
|
||||||
btn.tips.tipText = tip;
|
btn.tips.tipText = tip;
|
||||||
btn.UpdateTip();
|
btn.UpdateTip();
|
||||||
|
|||||||
@@ -262,6 +262,7 @@ public class UIConfigWindow : UI.MyWindowWithTabs
|
|||||||
|
|
||||||
public override void _OnUpdate()
|
public override void _OnUpdate()
|
||||||
{
|
{
|
||||||
|
base._OnUpdate();
|
||||||
if (VFInput.escape && !VFInput.inputing)
|
if (VFInput.escape && !VFInput.inputing)
|
||||||
{
|
{
|
||||||
VFInput.UseEscape();
|
VFInput.UseEscape();
|
||||||
|
|||||||
Reference in New Issue
Block a user