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); }
private void DrawWindow(int windowId) { IDebugConsoleWindow window = this.windows[this.toolbarIndex]; GUI.Box(this.scrollRect, String.Empty); window.DrawWindow(windowId, this); this.DrawToolbar(); }
public static void RegisterWindow(string name, IDebugConsoleWindow window) { DebugConsole.Instance.AddWindow(name, window); }