Skip to content

Interlude.Tick.Extra.DebugUI.Spinner

interludesoftware.tick

Interlude.Tick.Extra.DebugUI

Spinner Class

public static class Spinner

Inheritance System.Object → Spinner

Methods

Spinner.Do(UI, string, float, float) Method

Draws a decrement/value/increment button row for a float. Returns true when the value changes.

public static bool Do(Interlude.Tick.UI ui, string id, ref float value, float step=0.1f);

Parameters

ui UI

id System.String

value System.Single

step System.Single

Returns

System.Boolean

Spinner.Do(UI, string, int, int) Method

Draws a decrement/value/increment button row for an integer. Returns true when the value changes.

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

Parameters

ui UI

id System.String

value System.Int32

step System.Int32

Returns

System.Boolean

Spinner.DoLabelled(UI, string, string, float, float) Method

Draws a label column followed by a float spinner. Returns true when the value changes.

public static bool DoLabelled(Interlude.Tick.UI ui, string id, string label, ref float value, float step=0.1f);

Parameters

ui UI

id System.String

label System.String

value System.Single

step System.Single

Returns

System.Boolean

Spinner.DoLabelled(UI, string, string, int, int) Method

Draws a label column followed by an integer spinner. Returns true when the value changes.

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

Parameters

ui UI

id System.String

label System.String

value System.Int32

step System.Int32

Returns

System.Boolean