Table of Contents

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

options string[]

The options to display in the popup.

selectedIndex int

The currently selected index.

Returns

int

The index of the option selected by the user.