How to set variable in dynamic create widget object?

Hello guys, I have several or hundred of unit icon widget, and I loop a class array variable to dynamic create them, but then I found i can’t set the variable named ‘BuildingReference’ in these newly created widget object, please some tell me what should i do?


image

image

1 Like

I set that, not work.

You need to specify the class…

thank you, I fixed the problem when I realized that userwidget can inherit a parent userwidget by retarget parent…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.