Skip to content

KillAfterAnimation

Will Blanton edited this page Sep 12, 2019 · 1 revision

A Component that kills an Entity after it plays an animation (perfect for animated particles!)

Example:

add_component(new KillAfterAnimation());
animation.play('fire'); // When this animation finishes, the entity will be killed.
Clone this wiki locally