Skip to content

Interlude.Tick.Extra.DebugUI.Checkbox

interludesoftware.tick

Interlude.Tick.Extra.DebugUI

Checkbox Class

public static class Checkbox

Inheritance System.Object → Checkbox

Methods

Checkbox.Do(UI, string, bool) Method

Draws a checkbox toggle. Returns true when the value changed this frame.

public static bool Do(Interlude.Tick.UI ui, string id, ref bool value);

Parameters

ui UI

id System.String

value System.Boolean

Returns

System.Boolean

Checkbox.DoLabelled(UI, string, string, bool) Method

Draws a labelled checkbox toggle. Returns true when the value changed this frame.

public static bool DoLabelled(Interlude.Tick.UI ui, string id, string label, ref bool value);

Parameters

ui UI

id System.String

label System.String

value System.Boolean

Returns

System.Boolean