Exemple #1
0
        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);
        }
Exemple #2
0
    private static void Init()
    {
        DebuggerWindow window = (DebuggerWindow)GetWindow(typeof(DebuggerWindow));

        window.Show();
    }