PluginManager#remove()

remove(plugin, destroy)

Remove a Plugin from the PluginManager. It calls Plugin.destroy on the plugin before removing it from the manager.

Parameters
Name Type Argument Default Description
plugin Phaser.Plugin

The plugin to be removed.

destroy boolean <optional>
true

Call destroy on the plugin that is removed?

Source code: core/PluginManager.js (Line 129)
doc_phaser
2017-02-14 11:05:13
Comments
Leave a Comment

Please login to continue.