📅  最后修改于: 2022-03-11 14:44:56.794000             🧑  作者: Mango
// UInventoryWidget::OnCloseButtonClicked is a function that you want to execute when the button is clicked
Button->OnClicked.AddUniqueDynamic(this, &UInventoryWidget::OnCloseButtonClicked);