I have a scene, let’s say “ABC”, and it has a “back button”.
When the back button is clicked, scene “ABC” should be destroyed and the app goes to another scene.
Where is the best place to call purgeScene(“ABC”) in scene ABC after the back button is clicked?
I used to call it in exitScene() in ABC, but it seems not a good place.
Any suggestion?