ue4 bind function to button clicked c++

Asked  May 26, 06:29 pm 73 Views Add Your Answer
Asked  May 26, 06:29 pm
C++
0 Dislikes
0 Comments

1 Answers

Added  May 27, 07:55 am

// UInventoryWidget::OnCloseButtonClicked is a function that you want to execute when the button is clicked
Button->OnClicked.AddUniqueDynamic(this, &UInventoryWidget::OnCloseButtonClicked);

0 Likes 0 Dislikes
0 Comments
×
Google login
SignUp with Email
X