mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Add facebook plugin to Phaser.Scene for JSDoc
This commit is contained in:
parent
b8e681e29c
commit
d35e30dc6b
1 changed files with 12 additions and 0 deletions
|
@ -242,6 +242,18 @@ var Scene = new Class({
|
|||
* @since 3.0.0
|
||||
*/
|
||||
this.matter;
|
||||
|
||||
if(typeof PLUGIN_FBINSTANT){
|
||||
/**
|
||||
* A scene level Facebook Instant Games Plugin.
|
||||
* This property will only be available if defined in the Scene Injection Map, the plugin is installed and configured.
|
||||
*
|
||||
* @name Phaser.Scene#facebook
|
||||
* @type {Phaser.FacebookInstantGamesPlugin}
|
||||
* @since 3.12.0
|
||||
*/
|
||||
this.facebook;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue