#Help with Events and Listeners
1 messages · Page 1 of 1 (latest)
have you confirmed that the code that adds the listener is run?
lol checking
yes it is
I add the listener on line 28
A debug just before that does get printed
I'm not sure then. my only guess is perhaps that instance of ColonyResources that is invoking the event is not the same one with the listener added
probably because ?. doesn't really work properly for Unity stuff