Hey there,
this might be a stupid question. I’m trying to create a new class based on the MaterialFactoryNew.h but I don’t know how to get rid of the error. All I did was renaming the class…
AutoMatMaterialFactoryNew.h:
#pragma once
#include "AutoMatMaterialFactoryNew.generated.h"
UCLASS(hidecategories=Object, collapsecategories, MinimalAPI)
class UAutoMatMaterialFactoryNew : public UFactory
{
GENERATED_UCLASS_BODY()
/** An initial texture to place in the newly created material */
UPROPERTY()
class UTexture* InitialTexture;
// Begin UFactory Interface
virtual UObject* FactoryCreateNew(UClass* Class,UObject* InParent,FName Name,EObjectFlags Flags,UObject* Context,FFeedbackContext* Warn) override;
// Begin UFactory Interface
};