onKilled : Phaser.Signal
This signal is dispatched when the Game Object is killed.
This happens when Sprite.kill()
is called.
Please understand the difference between kill
and destroy
by looking at their respective methods.
It is sent one argument:
{any} The Game Object that was killed.
- Source code: gameobjects/components/Events.js (Line 119)
Please login to continue.