Click or drag to resize

OptionButtonGetItemIndex Method

Returns the index of the item with the given id.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int GetItemIndex(
	int id
)

Parameters

id
Type: SystemInt32

[Missing <param name="id"/> documentation for "M:Godot.OptionButton.GetItemIndex(System.Int32)"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.OptionButton.GetItemIndex(System.Int32)"]

See Also