Announcement
Collapse
No announcement yet.
Interact Icon Issues.
Collapse
X
-
GetAllWidgetsOfClass returns nothing it seems. Place a validation node after Get to make sure.
Or, rather than using a ham-fisted GetAllWidgetsOfClass (ignore me, I just dislike that sloppy node), save the Icon widget reference to a variable so you can access it directly. You could use GameMode for this, or HUD, or a custom Widget Manager.
If every object/button is supposed to have its own icon, consider storing the variable inside that very object.
Comment