// Copyright Epic Games, Inc. All Rights Reserved. #include "LandscapeLayerInfoObjectFactory.h" #include "AssetTypeCategories.h" #include "LandscapeLayerInfoObject.h" ULandscapeLayerInfoObjectFactory::ULandscapeLayerInfoObjectFactory(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { bCreateNew = true; bEditAfterNew = true; SupportedClass = ULandscapeLayerInfoObject::StaticClass(); } UObject* ULandscapeLayerInfoObjectFactory::FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) { ULandscapeLayerInfoObject* NewLayerInfoObject = NewObject(InParent, Class, Name, Flags | RF_Public | RF_Standalone | RF_Transactional); return NewLayerInfoObject; }