Phaser API Documentation

  Version: 
<static> getCustomClass(key)

Description:

Returns an object from the custom cache based on the given key that can be instantiated.

Parameters:

name type description
key string

The key of the custom plugin to get.

Returns:
Description:

The custom plugin object.

Type:
  • function
Examples:
Since: 3.8.0