I have a slate widget having a lot of values. To make it easier to update all the values, I thought of making a Structure making it easier to update the values but I can’t see a way to use TAttribute structure values.
.h File
TAttribute<FText> PlanetName;
FText GetToolTipDataName() const;
.ccp File
FToolTipData SToolTipWidget::GetToolTipData() const
{
return GalaxyHUD->PlanetToolTipData;
}
......
{
...
...
...
ToolTipData.Bind(this, &SToolTipWidget::GetToolTipData);
// I cant use something like this ToolTipData.Name
}
If my TAttribute Data is bound to a structure, I can’t access any values inside the structure using “.”.