PopupMenuGetItemIndex Method |
Returns the index of the item containing the specified id. Index is automatically assigned to each item by the engine. Index can not be set manually.
Namespace: Godot
public int GetItemIndex( int id )
[Missing <param name="id"/> documentation for "M:Godot.PopupMenu.GetItemIndex(System.Int32)"]
[Missing <returns> documentation for "M:Godot.PopupMenu.GetItemIndex(System.Int32)"]