How to add C++ to a Game Feature Plugin

I’ve created a Game Feature Plugin (UE5) using the Add (Content + Code) choice from the list, but there is no C++ Classes folder in the Plugins directory. The recommendation on adding classes is to do so from the editor rather than VS because it needs to create generated files, so I’m reluctant to build out the folder structure in VS manually. Shouldn’t there be a C++ Classes folder for my plugin in the editor?

I think that folder is “virtual” and will show up once you use the “Add C++ Class” menu option to actually add a class.

1 Like