sceneBeforeLeaving
BLOCK. Called on the old scene after the new scene has been initialized, and before the transition is performed.
BLOCK. Called on the old scene after the new scene has been initialized, and before the transition is performed.