23 lines
536 B
C
Raw Normal View History

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Factories/Factory.h"
2025-10-15 18:25:31 +08:00
#include "ShapeFactory.generated.h"
/**
*
*/
UCLASS()
2025-10-15 18:25:31 +08:00
class PROJECTFISHEDITOR_API UShapeFactory : public UFactory
{
GENERATED_BODY()
public:
2025-10-15 18:25:31 +08:00
UShapeFactory();
//interface
virtual UObject* FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
virtual bool ShouldShowInNewMenu() const override;
};