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?
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.
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”
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.
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.