UFUNCTION and UPROPERTY macro

If there are properties or functions that are only used in the .cpp file and not in bluerprint, do you have to make them with macro UFUNCTION or UPROPERTY?
image

1 Like

Properties referencing UObjects (like AvailableSkills) should remain marked with UPROPERTY.

For everything else you can remove UPROPERTY / UFUNCTION.


Note that if you want your game to be mod-friendly, you should keep using UPROPERTY / UFUNCTION as much as possible.

1 Like