Announcement

Collapse
No announcement yet.

What base class should I store in a TArray for my user widgets (UMG)?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    What base class should I store in a TArray for my user widgets (UMG)?

    Hey guys,

    I'm trying to store my user widgets created via UMG in a TArray, so that when I switch states, I can disable/hide all widgets, then activate only the ones I need for that state. Any combination of includes (i.e. "SUserWidget.h") leads to countless errors within the various widget files (SUserWidget.h can't find the SCompoundWidget class, for example).

    What do I need to include, and what base class pointer should I store, to be able to throw my user widgets into a TArray?

    Thanks.
Working...
X