1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-11 02:03:30 +08:00

CheatEnabler v2.2.6

This commit is contained in:
2023-09-28 17:10:31 +08:00
parent befed5ae60
commit 0c48691dc9
7 changed files with 192 additions and 158 deletions

View File

@@ -118,6 +118,7 @@ public class MyWindow: ManualBehaviour
var panel = UIRoot.instance.uiGame.dysonEditor.controlPanel.hierarchy.layerPanel;
var btn = Instantiate(panel.layerButtons[0]);
btn.gameObject.name = objName;
btn.highlighted = false;
Util.NormalizeRectWithTopLeft(btn, x, y, parent);
var t = btn.gameObject.transform.Find("Text").GetComponent<Text>();
if (t != null)