Hi. You need to connect events to your own functions on OnEnable and remove them OnDisable.
private void OnEnable() { WMBroadcaster.OnMonetizationStart += OnMonetizationStart; WMBroadcaster.OnMonetizationProgress += OnMonetizationProgress; } private void OnDisable() { WMBroadcaster.OnMonetizationStart -= OnMonetizationStart; WMBroadcaster.OnMonetizationProgress -= OnMonetizationProgress; }
In this code. right right side of operators are your own private methods.
https://learn.unity.com/tutorial/events-uh see here for more info about delegates and events.