You have to create an event dispatcher in your class, then ‘bind’ that event when it’s spawned to a function in the global class.
You have to create an event dispatcher in your class, then ‘bind’ that event when it’s spawned to a function in the global class.