Action Menu Option
⚙️ ActionMenuOption Struct
Represents a single action menu option.
Namespace:
Esper.Inventool.UI
Access:public
Type:struct
Attributes:[Serializable]
📦 Fields
Access
Field
Type
Description
public
text
string
The text displayed on the button.
public
localizedTextKey
string
The key for localizing the button text.
public
backgroundColor
Color
The background color of the button.
public
action
Action
The callback invoked when clicked.
public
icon
Sprite
The icon representing the menu option.
public
sortingOrder
int
The display order within its parent menu.
Creating an Option
ActionMenuOption myOption = new ActionMenuOption();
Last updated