If I have a TArray property how can I specify the the default value in MakeStruct blueprint node?
USTRUCT(BlueprintType)
struct FMyStruct
{
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=MyStruct)
TArray<FVector> MyArray;
};
In my blueprint node Make MyStruct I must connect an array to MyArray.
Is it possible to make MyArray default to an empty array, so that I don’t need to connect an array to MyArray in Make MyStruct node?
I have tried meta=(MakeStructureDefaultValue = "{}") and meta=(MakeStructureDefaultValue = "TArray()") but it does not works.