Files
UnrealEngineUWP/Engine/Plugins/Developer/AnimationSharing/Source/AnimationSharingEd/Private/AnimationSharingSetupFactory.cpp
Ryan Durand 28d3d740dd (Integrating from Dev-EngineMerge to Main)
Second batch of remaining Engine copyright updates.

#rnx
#rb none
#jira none

[CL 10871196 by Ryan Durand in Main branch]
2019-12-27 07:44:07 -05:00

23 lines
731 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "AnimationSharingSetupFactory.h"
#include "AnimationSharingSetup.h"
#include "AssetTypeCategories.h"
UAnimationSharingSetupFactory::UAnimationSharingSetupFactory(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
SupportedClass = UAnimationSharingSetup::StaticClass();
bCreateNew = true;
}
UObject* UAnimationSharingSetupFactory::FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn)
{
return NewObject<UAnimationSharingSetup>(InParent, Class, Name, Flags);
}
uint32 UAnimationSharingSetupFactory::GetMenuCategories() const
{
return EAssetTypeCategories::Animation;
}