How to override C++ function in Blueprint?

You can declare UFUNCTION() functions as virtual. However you can not override them inside blueprints. Only inside other C++ classes. You probably already seen that you can not see the function you declared virtual, inside blueprint editors overridable functions list.

If you want to override a function inside blueprints, you will need to use BlueprintNativeEvent or BlueprintImplementableEvent as UFUNCTION() specifiers.

3 Likes