/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h
Create a component or subobject only to be used with the editor.
template<class TReturnType> TReturnType * CreateEditorOnlyDefaultSubobject ( [UObject](API\Runtime\CoreUObject\UObject\UObject) * Outer, [FName](API\Runtime\Core\UObject\FName) SubobjectName, bool bTransient ) const