Structs, how to initialize one as a variable?



USTRUCT(Blueprintable)
struct FMyStruct
{
	GENERATED_BODY()

	// default constructor -- without parameters, so it will work inside other structures 
	// that need default initializer, such as TArray
	FMyStruct()
	: MotherNanny(TEXT("")), KeyRing(TEXT("")), Scones(-1.f)
	{}

	// constructor that takes 3 parameters
	FMyStryct(const FName& InMotherNanny, const FName& InKeyRing, float InScones)
	: MotherNanny(InMotherNanny), KeyRing(InKeyRing), Scones(InScones)
	{}

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "My Struct")
	FName MotherNanny;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "My Struct")
	FName KeyRing;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "My Struct")
	float Scones;
};