Ejemplo n.º 1
0
        internal void AddWindow(string name, IDebugConsoleWindow window)
        {
            int windowId = this.windowNames.Count;

            this.windowNames.Add(windowId, name);

            this.windows.Add(windowId, window);

            window.SetupWindow(windowId, this);
        }
Ejemplo n.º 2
0
        private void DrawWindow(int windowId)
        {
            IDebugConsoleWindow window = this.windows[this.toolbarIndex];

            GUI.Box(this.scrollRect, String.Empty);

            window.DrawWindow(windowId, this);

            this.DrawToolbar();
        }
Ejemplo n.º 3
0
 public static void RegisterWindow(string name, IDebugConsoleWindow window)
 {
     DebugConsole.Instance.AddWindow(name, window);
 }