Commit v.2025
This commit is contained in:
@ -0,0 +1,24 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
|
||||
#include "DTFluxModelAssetFactory.h"
|
||||
|
||||
#include "Assets/DTFluxModelAsset.h"
|
||||
|
||||
|
||||
|
||||
UDTFluxModelAssetFactory::UDTFluxModelAssetFactory(const FObjectInitializer& ObjectInitializer)
|
||||
{
|
||||
SupportedClass = UDTFluxModelAsset::StaticClass();
|
||||
}
|
||||
|
||||
bool UDTFluxModelAssetFactory::CanCreateNew() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
UObject* UDTFluxModelAssetFactory::FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName,
|
||||
EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn)
|
||||
{
|
||||
return NewObject<UDTFluxModelAsset>(InParent, InName, Flags);
|
||||
}
|
||||
Reference in New Issue
Block a user