Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.GameObjects.Sprite
<private> preDestroy()
Description:
Handles the pre-destroy step for the Sprite, which removes the Animation component.
Since:
3.14.0
Source:
src/gameobjects/sprite/Sprite.js
(Line
457
)
Possible examples