add UPROPERTY(EditAnywhere) above it (IN THE .H FILE)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
UFUNCTION(___) 1. What does this do? 2. What are the three different things you can fill in the blank with, and what do each of them do?
A
It exposes the below function to the editor
BlueprintCallable – implemented in the corresponding .cpp file BlueprintImplementableEvent – has no corresponding cpp implementation, is implemented in a blueprint BlueprintNativeEvent – has a default implementation in cpp, but can be overwritten via blueprint