The Texture Add Event.
This event is dispatched by the Texture Manager when a texture is added to it.
Listen to this event from within a Scene using: this.textures.on('addtexture', listener)
.
name | type | description |
---|---|---|
key | string |
The key of the Texture that was added to the Texture Manager. |
texture | Phaser.Textures.Texture |
A reference to the Texture that was added to the Texture Manager. |