Download

Extending the Editor via Modules - Some Confusion

Hey guys,

We’re looking at doing some work with the editor, and thus I’m trying to add my own module. I have the basics down-pat; I have the .Build.cs file, etc, but my .h and .cpp files in the module aren’t being built (I add junk to some of the files and get no errors, and the UE4 project is always up to date).

My Build.cs:

I’m also unsure of the purpose of the module-named .h and .cpp files. In my case MyModule.h and MyModule.cpp (the former in the Public folder, the latter in the Private). What should they contain? The workload of my module would be done in other classes. Should these two files even have a class defined in them?

Thanks.