Editing codegen template

I’m assuming it must be possible to adjust the template for codegen when “Add New C++ Class” is used. Where can I edit these things?

Thread bump.

Hey -

You should be able to find the templates for class boilerplate code in the Engine/Content/Editor/Templates folder. If you’re using a source built engine, opening the UE4.sln file will allow you to navigate to this folder and edit the default code when a class of that type is created. This is not possible with an engine from the Launcher as the code is pre-compiled and cannot be edited, so a source engine will be necessary if you want to make any changes to the boilerplate code.

Cheers