Phaser API Documentation

  Version: 
pop(key)

Description:

Retrieves the data associated with the given 'key', deletes it from this Data Manager, then returns it.

Parameters:

name type description
key string

The key of the value to retrieve and delete.

Returns:
Description:

The value of the given key.

Type:
  • *
Since: 3.0.0
Source: src/data/DataManager.js (Line 549)