doc improvement for typescript, missing mapping if use JSON as the config data for the game instance

This commit is contained in:
J.C 2018-12-13 17:26:10 +08:00
parent b7424fd287
commit 5d696d49bf

View file

@ -165,6 +165,7 @@ var ValueToColor = require('../display/color/ValueToColor');
* @property {boolean} [start] - Whether the plugin should be started automatically.
* @property {string} [systemKey] - For a scene plugin, add the plugin to the scene's systems object under this key (`this.sys.KEY`, from the scene).
* @property {string} [sceneKey] - For a scene plugin, add the plugin to the scene object under this key (`this.KEY`, from the scene).
* @property {string} [mapping] - If this plugin is to be injected into the Scene Systems, this is the property key map used.
* @property {*} [data] - Arbitrary data passed to the plugin's init() method.
*
* @example