Menu
Lumberyard
Developer Guide (Version 1.11)

UIButtonComponent

You can use a button component to make an element behave like a button.

UiButtonBus

Services messages for the UiButtonComponent.

GetOnClickActionName

Returns the action triggered when the button is released.

Syntax

Copy
AZStd::string UiButtonBus::GetOnClickActionName()

SetOnClickActionName

Sets the action triggered when the button is released.

Syntax

Copy
void UiButtonBus::SetOnClickActionName(const AZStd::string& actionName)

UiButtonNotificationBus

Services notifications for the UiButtonComponent.

OnButtonClick

Occurs when a button has been clicked.

Syntax

Copy
void OnButtonClick()