You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
21 lines
782 B
C++
21 lines
782 B
C++
|
|
// 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<ULandscapeLayerInfoObject>(InParent, Class, Name, Flags | RF_Public | RF_Standalone | RF_Transactional);
|
||
|
|
|
||
|
|
return NewLayerInfoObject;
|
||
|
|
}
|