Interlude.Tick.Extra.DebugUI.Dropdown
interludesoftware.tick¶
Interlude.Tick.Extra.DebugUI¶
Dropdown Class¶
Inheritance System.Object → Dropdown
Methods¶
Dropdown.Do(UI, string, int, string[]) Method¶
Draws a single-choice dropdown. Returns true when the selection changed.
Parameters¶
ui UI
selectedIndex System.Int32
options System.String[]
Returns¶
Dropdown.DoLabelled(UI, string, string, int, string[]) Method¶
Draws a labelled single-choice dropdown. Returns true when the selection changed.
public static bool DoLabelled(Interlude.Tick.UI ui, string id, string label, ref int selectedIndex, string[] options);
Parameters¶
ui UI
label System.String
selectedIndex System.Int32
options System.String[]