Hello, I have called an event dispatcher in my HUD.
But, when I want add this event in my level blueprint, it doesn’t appear.
Why?
You are using UMG. Just get the UserWidget instead of the HUD object.
HUD classes are old and recommended to be used only for fast prototyping.
You probably add your HUD object (derived from User Widget) somewhere. Be sure to keep a reference to it so you can bind to it
So, how I can fix it ?
Where are you spawning your widget in the world? If it is on a player controller, you would get it off of your player controller, like the HUD class. If it has a reference stored on a pawn, you would get that pawn and grab the reference from it, and so on.
That works, thanks.