unreal engine specific stuff Flashcards
(2 cards)
how to expose c++ variable in the editor
add UPROPERTY(EditAnywhere) above it (IN THE .H FILE)
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?
- 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