Not C++ Related, but you can create an Event in BP and tick “Editor Callable” - that leads to the button you’re showing
Hi,
I want to know how to add a button in detail panel(like screenshot).
How about SNew(SButton)???
If must use SButton to create a button, how to add it in detail panel???
I have not found any button variables that can be declared as UPROPERTY
You can specify a function as CallInEditor and the detail panel will show you a button for it.
UFUNCTION(BlueprintCallable, CallInEditor)