Plugin
Class: Phaser.Plugin
Constructor
new Plugin(game, parent)
This is a base Plugin template to use for any Phaser plugin development.
Parameters
Name | Type | Description |
---|---|---|
game | Phaser.Game | A reference to the currently running game. |
parent | any | The object that owns this plugin, usually Phaser.PluginManager. |
- Source code: 登录查看完整内容