Hi, I need to clear some objects when I change the scene but I need to do it when nothing is visible, it means at the end of current scene’s fading but before loading the next scene.
-
exitScene() is before the fading.
-
isExitScene() is after the fading but it already changed the scene (you can check by storyboard.getCurrentSceneName()).
I can’t use destroyScene() because I used a required global module for all the scenes…
Any tips?