Hello everyone, I am an experienced developer that just moved from Unity3D to Unreal Engine.
I have done basics tutorials, but I need some help to how to structure my code as I found no good tutorials or answers in this forum about the topic.
The structure I want to have is the following:
Logic:Pure C++ static classes and functions that drive all the logic.
Controller: C++ classes that will react on input/network and send events to the logic.
Model: Pure C++ classes/structs that keeps the application persistent data.
View: Contains C++ Classes and Unreal blueprients/actors that will display everything the player can see.
As you notice, the only part where I want to be dependent on Unreal Engine is the view, and maybe to some extent in the controller (for keyboard/mouse input).
However, I stumbled upon some serious problems, for example when I create a blank C++ file it won’t even show up in the editor, even if I add the UCLASS macro.
I am just wondering if anyone with experience can tell me how they deal with custom C++ code in their projects.