Interlude.Tick.Extra.DebugUI.Spinner
interludesoftware.tick¶
Interlude.Tick.Extra.DebugUI¶
Spinner Class¶
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.
Parameters¶
ui UI
value System.Single
step System.Single
Returns¶
Spinner.Do(UI, string, int, int) Method¶
Draws a decrement/value/increment button row for an integer. Returns true when the value changes.
Parameters¶
ui UI
value System.Int32
step System.Int32
Returns¶
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
label System.String
value System.Single
step System.Single
Returns¶
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
label System.String
value System.Int32
step System.Int32