USTRUCT(BlueprintType)
struct RESOURCESYSTEM_API FItinerary
{
GENERATED_BODY()
public:
FItinerary()
{
}
FItinerary(TArray<FString> resourcesNeeded, TArray<int> amountNeededOfSaidResources)
{
this->resourcesNeeded = resourcesNeeded;
this->amountNeededOfSaidResources = amountNeededOfSaidResources;
}
UPROPERTY(EditAnywhere, BlueprintReadWrite)
TArray<FString> resourcesNeeded;
UPROPERTY(EditAnywhere, BlueprintReadWrite)
TArray<int> amountNeededOfSaidResources;
};
so i have this struct which works however if I try to use it in BP I can’t alter its values. Can anyone tell me whats wrong