27 lines
880 B
C++
27 lines
880 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "LyraContextEffectsLibraryFactory.h"
|
|
|
|
#include "Feedback/ContextEffects/LyraContextEffectsLibrary.h"
|
|
#include "Templates/SubclassOf.h"
|
|
|
|
class FFeedbackContext;
|
|
class UClass;
|
|
class UObject;
|
|
|
|
ULyraContextEffectsLibraryFactory::ULyraContextEffectsLibraryFactory(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
{
|
|
SupportedClass = ULyraContextEffectsLibrary::StaticClass();
|
|
|
|
bCreateNew = true;
|
|
bEditorImport = false;
|
|
bEditAfterNew = true;
|
|
}
|
|
|
|
UObject* ULyraContextEffectsLibraryFactory::FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn)
|
|
{
|
|
ULyraContextEffectsLibrary* LyraContextEffectsLibrary = NewObject<ULyraContextEffectsLibrary>(InParent, Name, Flags);
|
|
|
|
return LyraContextEffectsLibrary;
|
|
} |