You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The Plugin must have 2 properties: game and parent. Plugin.game is set to ths game reference the PluginManager uses, and parent is set to the PluginManager.
419
+
*
420
+
* @method Phaser.GameObjectFactory#plugin
421
+
* @param {object|Phaser.Plugin} plugin - The Plugin to add into the PluginManager. This can be a function or an existing object.
422
+
* @param {...*} parameter - Additional parameters that will be passed to the Plugin.init method.
423
+
* @return {Phaser.Plugin} The Plugin that was added to the manager.
0 commit comments