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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user