public ScriptEditor() : base("Script Editor", new Rect(16.0f, 16.0f, 640.0f, 480.0f), skin) { onDraw = DrawWindow; onException = HandleException; visible = true; headerArea = new GUIArea(this); editorArea = new GUIArea(this); footerArea = new GUIArea(this); RecalculateAreas(); }
public Console() : base("Debug console", config.consoleRect, skin) { onDraw = DrawWindow; onException = HandleException; headerArea = new GUIArea(this); consoleArea = new GUIArea(this); commandLineArea = new GUIArea(this); RecalculateAreas(); onUnityGUI = () => KeyboardCallback(); }
public SceneExplorer(string windowName) : base(windowName, new Rect(128, 440, 800, 500), skin) { onDraw = DrawWindow; onException = ExceptionHandler; onUnityGUI = GUIComboBox.DrawGUI; headerArea = new GUIArea(this); sceneTreeArea = new GUIArea(this); componentArea = new GUIArea(this); state = new SceneExplorerState(); RecalculateAreas(); }
public Console() : base("Debug console", config.consoleRect, skin) { onDraw = DrawWindow; onException = HandleException; onUnityDestroy = HandleDestroy; headerArea = new GUIArea(this); consoleArea = new GUIArea(this); commandLineArea = new GUIArea(this); RecalculateAreas(); onUnityGUI = () => KeyboardCallback(); }
public Console() : base("Debug console", config.consoleRect, skin) { onDraw = DrawWindow; onException = HandleException; onUnityDestroy = HandleDestroy; headerArea = new GUIArea(this); consoleArea = new GUIArea(this); commandLineArea = new GUIArea(this); RecalculateAreas(); vanillaPanel = UIView.library.Get <DebugOutputPanel>("DebugOutputPanel"); oldVanillaPanelParent = vanillaPanel.transform.parent; vanillaPanel.transform.parent = transform; onUnityGUI = () => KeyboardCallback(); }
public Console() : base("Debug console", config.consoleRect, skin) { onDraw = DrawWindow; onException = HandleException; onUnityDestroy = HandleDestroy; headerArea = new GUIArea(this); consoleArea = new GUIArea(this); commandLineArea = new GUIArea(this); RecalculateAreas(); vanillaPanel = UIView.library.Get<DebugOutputPanel>("DebugOutputPanel"); oldVanillaPanelParent = vanillaPanel.transform.parent; vanillaPanel.transform.parent = transform; onUnityGUI = () => KeyboardCallback(); }