I’m trying to figure out how files are added to the otuput of MyProjectClasses.h. My understanding is that this file is generated by UnrealHeaderTool.exe (UHT) after it has inspected the various header files in my project.
I created a new project called “MyProject” based off of the “Code Top Down” template. It contains a few classes, like AMyProjectCharacter
, that have the UCLASS()
annotation, and #include “MyProjectCharacter.generated.h” – which is to my understanding the required steps to get UHT to parse it.
After building the “Development Editor” target, the MyProjectClasses.h file exists, but only contains a comment and a #pragma once
.
Looking at the ShooterGame sample, I see that the ShooterGameClasses.h file contains a list of #includes that seem to be every UCLASS()
annotated class in the project.
What am I missing?