// Fill out your copyright notice in the Description page of Project Settings. #include "Factory/BagConfigFactory.h" #include "ProjectFish/DataAsset/BagConfigAsset.h" UBagConfigFactory::UBagConfigFactory() { SupportedClass = UBagConfigAsset::StaticClass(); } UObject* UBagConfigFactory::FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) { UBagConfigAsset* NewBagConfigAsset = NewObject(InParent, Class, Name, Flags | RF_Transactional); return NewBagConfigAsset; } bool UBagConfigFactory::ShouldShowInNewMenu() const { return true; }