Phaser API Documentation

  Version: 
get(key)

Description:

Gets an item from this cache based on the given key.

Parameters:

name type description
key string

The unique key of the item to be retrieved from this cache.

Returns:
Description:

The item in the cache, or null if no item matching the given key was found.

Type:
  • *
Since: 3.0.0
Source: src/cache/BaseCache.js (Line 106)