How to make a C++ event callable from within the editor?

Adding editor button which will execute some C++ function is now as simple as it should be.
Just add:


UFUNCTION(BlueprintCallable, CallInEditor)

macro above your function, recompile and button will be there.

Once again: Sorry for necro-ing old thread, but it’s easier to find this than actual answer.

21 Likes