A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
DlgConditionCustomFactory.h
Go to the documentation of this file.
1// Copyright Csaba Molnar, Daniel Butum. All Rights Reserved.
2#pragma once
3
4#include "Factories/Factory.h"
5
6#include "DlgConditionCustomFactory.generated.h"
7
9
10UCLASS()
11class DLGSYSTEMEDITOR_API UDlgConditionCustomFactory : public UFactory
12{
14
15public:
16 UDlgConditionCustomFactory(const FObjectInitializer& ObjectInitializer);
17
18 //
19 // UFactory interface
20 //
21
22 bool ConfigureProperties() override;
23 UObject* FactoryCreateNew(
24 UClass* Class,
25 UObject* InParent,
26 FName Name,
27 EObjectFlags Flags,
28 UObject* Context,
29 FFeedbackContext* Warn
30 ) override;
31
32private:
33 // Holds the template of the class we are building
34 UPROPERTY()
35 TSubclassOf<UDlgConditionCustom> ParentClass;
36};
TSubclassOf< UDlgConditionCustom > ParentClass
UPROPERTY()
UCLASS(Blueprintable, BlueprintType, Abstract, EditInlineNew)