Method AddCombo
- Namespace
- Gamelogic.Extensions.Editor.Internal
- Assembly
- Gamelogic.Extensions.Editor.dll
AddCombo(string[], int)
Draws a popup dropdown and returns the selected index.
public static int AddCombo(string[] options, int selectedIndex)
Parameters
optionsstring[]The options to display in the popup.
selectedIndexintThe currently selected index.
Returns
- int
The index of the option selected by the user.