Is there a way to create a class deriverd UObject in C++ Class Wizard?

hi~ everyone

i have seen classes deriverd UObject. they are declared like below

class UCustome: public UObject
{
	GENERATED_UCLASS_BODY()
                .
                .
                .

i tried to create a class from C++ Class Wizard. but i couldn’t find “UObject” as a base class.

is there a way to create a class deriverd UObject in C++ Class Wizard? or should i add a class manually into Visual Studio? or whatever something else?

i appreciate any advices and hints. :slight_smile:

You can either add the Class through the UE4 Editor, or simply add the classes manually (which is what I do honestly). VS’s Class Wizard just saves you a bit of typing, it’s not required by any means.

Check Show all Classes.

xD its at the very top it wont show you because you dont need to type the prefix “U” its simply Object like Highlighted in my screenshot.

ohhh thanks for the answer ExtraLifeMatt :slight_smile:

i mean, i tried the way you linked basically. but ‘UObject’ is not at ‘Choose Parent Class’.
‘UObject’ what i said, is not a major term. its a specific class like “Actor”, “Pawn”, “Character” :wink:

hi~ and thank you Nachtmahr

ofcause, i tried that too. and i used search field but ‘UObject’ was not there. -_-
the ‘Create Class’ button was not activated when i choose just ‘Object’ as a parent class.

Ohhhhhhh my… i worked~!!!

but i swear, the ‘Create Class’ button was not activated… when i tried it yesterday~!!! xD
thank you Nachtmahr~!!! i love you <3

If anyone else runs into this, I also had ‘Create Class’ grayed out only when attempting to create a class basedon object. Compiled solution, restarted editor and it is OK.