Hi,
I just got a problem with a FunctionLibrary.
This is the fist time I tried create a new one and I’m new to programming in general so I’m going to describe exactly what I did:
1: I went to File > Add Code to Project and choose Blueprint Function Library.
2: I added the following code to the library:
header:
UFUNCTION(BlueprintCallable, Category = "Test")
		UObject*GetDefaultObject(TSubclassOf<UObject> ObjectClass);
C++:
UObject* UMyFunctionLibrary::GetDefaultObject(TSubclassOf<UObject> ObjectClass)
{
	return ObjectClass->GetDefaultObject();
}
The node can now be used in a Blueprint.
But when I try to compile I get an Error:
I have found the Code for the Function in the Internet but it was only the C++ part. So I tried to do the rest on my own.
I’m a little confused now.
Maybe you can tell me, what I have done wrong.
