private void CreateDebuggerWindow() { GameObject go = new GameObject(DEBUGGER_WINDOW_NAME); go.transform.parent = SkylineToolkit.UI.ColossalControl.ColossalUIView.transform; DebuggerWindow window = go.AddComponent <DebuggerWindow>(); this.window = window; window.Debugger = this; GameObject.DontDestroyOnLoad(window); }
private static void Init() { DebuggerWindow window = (DebuggerWindow)GetWindow(typeof(DebuggerWindow)); window.Show(); }