private void RegisterDebuggerWindow(string title, IDebuggerWindow window) { toolList.Add(title); if (window != null) { window.Initialize(); windowList.Add(window); } }
public void RegisterDebuggerWindow(string path, IDebuggerWindow debuggerWindow, params object[] args) { if (string.IsNullOrEmpty(path)) { throw new GameFrameworkException("Path is invalid."); } if (debuggerWindow == null) { throw new GameFrameworkException("Debugger window is invalid."); } this.m_DebuggerWindowRoot.RegisterDebuggerWindow(path, debuggerWindow); debuggerWindow.Initialize(args); }