It’s not recommended to use the project.h/.cpp files too much, as the engine offers many paradigms to add any and all lines that you would want to add there.
The way I understand it, these two files are ensured to be read early (as early as possible?) in the application lifecycle. Making them a good place to declare things that are both global and needed very early. The LogCategory that you show is actually a good example of that.
There should not be many reasons to add code or variables there, aside from engine stuff you have been specifically told to put there.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.