How does this work if the signal to be handled
- has to be handled differently in each level, and
- the handling is to be done be logic within the level?
The real example I face is that a Key (in this instance) knows when it has hit a Platform (both dynamically created instances). This is detected in the Key’s collider’s onBeginContact.
But the Key has no idea what is supposed to happen when it hits the Platform. Only the level knows this. One example of what might have to happen is a new Key drops in from the ceiling (this is in fact the case in the current level I am working on).