Question
Removing an object, removes its instances objects and events?
Hi ![]()
I´m creating a game.
When the current game has finished, I thinking to do this:
removeChild(game)
game = null
then
game = new Game()
Doing this way, it automatically removes the game´s object instances?
It automatically removes the game´s object instances events?
That would be an easy way to restart the game, if yes for both questions.
Can I do like that, or I have to remove all objects and events manually?
Thanks ![]()