Skip to content

Interlude.Tick.Extra.DebugUI.Console

interludesoftware.tick

Interlude.Tick.Extra.DebugUI

Console Class

public static class Console

Inheritance System.Object → Console

Methods

Console.Do(UI, string, string) Method

Draws the console window. Returns true on the frame a command is submitted; the submitted string is written to command.

public static bool Do(Interlude.Tick.UI ui, string title, out string command);

Parameters

ui UI

title System.String

command System.String

Returns

System.Boolean

Console.Hide(UI) Method

Hides the console panel.

public static void Hide(Interlude.Tick.UI ui);

Parameters

ui UI

Console.Init(Configuration) Method

Initialises the console with the given configuration and subscribes to Unity's log callback.

public static void Init(Interlude.Tick.Extra.DebugUI.Console.Configuration config);

Parameters

config Interlude.Tick.Extra.DebugUI.Console.Configuration

Console.LogMessageReceived(string, string, LogType) Method

Unity log callback that appends incoming messages to the console history.

public static void LogMessageReceived(string text, string stack, LogType type);

Parameters

text System.String

stack System.String

type UnityEngine.LogType

Console.Show(UI) Method

Makes the console panel visible.

public static void Show(Interlude.Tick.UI ui);

Parameters

ui UI

Console.Toggle(UI) Method

Toggles the console panel between visible and hidden.

public static void Toggle(Interlude.Tick.UI ui);

Parameters

ui UI