/Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h
Utility function for templates below
[UObject](API\Runtime\CoreUObject\UObject\UObject) * CreateDefaultSubobject ( [FName](API\Runtime\Core\UObject\FName) SubobjectFName, [UClass](API\Runtime\CoreUObject\UObject\UClass) * ReturnType, [UClass](API\Runtime\CoreUObject\UObject\UClass) * ClassToCreateByDefault, bool bIsRequired, bool bIsTransient )