mirror of
https://github.com/ApfelTeeSaft/UnrealEvent.git
synced 2026-09-02 19:24:04 +00:00
23 lines
741 B
C++
23 lines
741 B
C++
// Copyright 1998-2019 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;
|
|
}
|