onDestroy : Phaser.Signal
This signal is dispatched when the Game Object is destroyed.
This happens when Sprite.destroy()
is called, or Group.destroy()
with destroyChildren
set to true.
It is sent one argument:
{any} The Game Object that was destroyed.
- Source code: gameobjects/components/Events.js (Line 109)
Please login to continue.