Skip to content

Interlude.Tick.Extra.DebugUI.Dropdown

interludesoftware.tick

Interlude.Tick.Extra.DebugUI

public static class Dropdown

Inheritance System.Object → Dropdown

Methods

Draws a single-choice dropdown. Returns true when the selection changed.

public static bool Do(Interlude.Tick.UI ui, string id, ref int selectedIndex, string[] options);

Parameters

ui UI

id System.String

selectedIndex System.Int32

options System.String[]

Returns

System.Boolean

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

id System.String

label System.String

selectedIndex System.Int32

options System.String[]

Returns

System.Boolean