Is it possible to create new custom C++ templates to use in your project

Hello, was just wondering if it is possible to make your own custom C++ templates for use in your project. I know we can edit the existing C++ templates, but more looking to make new ones.

Thanks!

Hello!

It is possible to create custom project templates. They are pretty much regular projects with a bit of extra information. The following article describes how to do it: https://dev.epicgames.com/documentation/unreal\-engine/converting\-a\-project\-to\-an\-unreal\-engine\-template

Regards,

Martin

Those templates are hardcoded in the GameProjectUtils class and there is other way than modify that code if you want to inject new ones.

Martin

That article is for project templates, I was looking for custom C++ templates, like the ones under

{ENGINE_ROOT}/Content/Editor/Templates/I believe these are the templates that IDEs use when generating new Unreal classes. You can update those templates, but adding new ones do not seem to get picked up.