Announcement
Collapse
No announcement yet.
[UMG] Interacting through HUD into gameworld
Collapse
X
-
I would make a custom user widget who monitors mouse enter/mouse leave and notifies some system when he's been activated, then just have a manager widget or system that spawns them as children and maintains their lifetime. I'm assuming these things are dynamic and need to come and go anyway.
The way you distinguish is, if nothing in the UI gets the event, it eventually bubbles up to the viewport where it's passed to the game layer (player input) to be dealt with in the classic sense.
Comment