CheatEnabler v2.2.6

This commit is contained in:
2023-10-07 14:51:22 +08:00
parent befed5ae60
commit 0c48691dc9
7 changed files with 192 additions and 158 deletions
+1
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)