/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h
Create a component or subobject
[UObject](API\Runtime\CoreUObject\UObject\UObject) * CreateDefaultSubobject ( [UObject](API\Runtime\CoreUObject\UObject\UObject) * Outer, [FName](API\Runtime\Core\UObject\FName) SubobjectFName, const [UClass](API\Runtime\CoreUObject\UObject\UClass) * ReturnType, const [UClass](API\Runtime\CoreUObject\UObject\UClass) * ClassToCreateByDefault, bool bIsRequired, bool bIsTransient ) const