To create your own UObject derivative class, follow these steps:
- From your running project, select File | New C++ Class inside the UE4 editor.
- In the Add C++ Class dialog that appears, go to the upper-right-hand side of the window and tick the Show All Classes checkbox:
- Select Object (top of the hierarchy) as the parent class to inherit from, and then click on Next.
Note that although Object will be written in the dialog box, in your C++ code, the C++ class you will be deriving from is actually UObject with a leading uppercase U. This is the naming convention of UE4.
UCLASS deriving from UObject (on a branch other than ...