In my player controller, i have a reference to a widget that gets created during gameplay. The widget has an event dispatcher which, when selecting the widget reference variable, gives me the option to add as an event in my player controller. The issue I am having is that once the widget is created, the event in the player controller isn’t being called.
Player Controller creating widget with the event dispatcher event below:
Widget calling the event dispatcher:
Is it possible that the event will only call if the reference is not null to begin with, or is my issue something else?
And once this problem is solved, i also have a question about how to go about using these widget dispatchers in a dynamic list of child buttons to all send to a single event on the parent.
Thanks in advance!