Holding multiple data types, is Struct the best option?


USTRUCT(BlueprintType)
struct FTransitionData
{
  GENERATED_BODY()

  UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Menu TransitionData")
  float OpacityB = 2814.4f;
};

This is how it works for me with setting default variables, if I remember correctly.