Phaser API Documentation

  Version: 
Event: ADD_KEY
Phaser.Textures.Events.ADD_KEY
ADD_KEY

Description:

The Texture Add Key Event.

This event is dispatched by the Texture Manager when a texture with the given key is added to it.

Listen to this event from within a Scene using: this.textures.on('addtexture-key', listener).

Parameters:

name type description
texture Phaser.Textures.Texture

A reference to the Texture that was added to the Texture Manager.

Since: 3.60.0