Lumberyard
User Guide (Version 1.15)

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

AZStd::string UiButtonBus::GetOnClickActionName()

SetOnClickActionName

Sets the action triggered when the button is released.

Syntax

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

UiButtonNotificationBus

Services notifications for the UiButtonComponent.

OnButtonClick

Occurs when a button has been clicked.

Syntax

void OnButtonClick()