internal static void DisplayParametricPanel(CommandConsoleWindow window) { try { if (Event.current.type == EventType.MouseDown) { window.Repaint(); window.Focus(); window.TabFrames = 10; } CommandConsoleWindow.RowHeight = new Rect(0, 0, 0, 0.55f); DisplayCommandInfo(window.CurrentExecution); Rect selectedRect = new Rect(); if (window.CurrentExecution.Info.CommandParameterInfo.Count > 1) { selectedRect = DisplayParameterTabs(window); } window.CheckSearch(); if (window.CurrentExecution.CurrentParameterInfo != null) { DisplayParameterPanel(window); } if (window.CurrentExecution.Info.CommandParameterInfo.Count > 1) { DisplayTabLink(selectedRect); } DisplayBottomHelp(window); } catch (Exception e) { if (CommandConsoleWindow.LogExceptions) { Debug.Log(e); } GUIUtility.ExitGUI(); } }
internal static void DisplayCommandPanel(CommandConsoleWindow window) { try { if (Event.current.type == EventType.MouseDown) { window.Repaint(); window.Focus(); return; } DisplayCommandSearchPanel(window); if (CommandManager.Instance.IsLoading) { LoadingNoticeDisplay.DisplayLoadingNotice(window); } } catch (Exception e) { if (CommandConsoleWindow.LogExceptions) { Debug.LogWarning(e); } GUIUtility.ExitGUI(); } window.CheckSearch(); try { DisplayCommandResultPanel(window); DisplayCommandSearchHelp(window); } catch (Exception e) { if (CommandConsoleWindow.LogExceptions) { Debug.LogWarning(e); } GUIUtility.ExitGUI(); } }