Files
2026-04-22 15:51:07 +02:00

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;
}