i would love to execute code while switching the scene.
An easy example would be playing the sound of an closing door.
it should play at the time the screen is black, but if i just put it after "switching the scene" it plays to late. (i don´t want to make the fade longer with my own "black fade" after the transition.
Any other idea how to solve this?