CheatEnabler v2.2.6

This commit is contained in:
soarqin committed 2023-10-07 14:51:22 +08:00
1 parent befed5ae60
commit 0c48691dc9
7 files changed
+192 -158

No files matched your search

+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)