Phaser API Documentation

  Version: 
<static> remove(factoryType)

Description:

Static method called directly by the Game Object Creator functions.

With this method you can remove a custom Game Object Creator that has been previously registered in the Game Object Creator. Pass in its factoryType in order to remove it.

Parameters:

name type description
factoryType string

The key of the factory that you want to remove from the GameObjectCreator.

Since: 3.0.0