Phaser API Documentation

  Version: 
Event: ADD
Phaser.Textures.Events.ADD
ADD

Description:

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).

Parameters:

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.

Since: 3.0.0