From 5d696d49bfca342ba4b3bcd05edf1e87099e96fc Mon Sep 17 00:00:00 2001 From: "J.C" Date: Thu, 13 Dec 2018 17:26:10 +0800 Subject: [PATCH] doc improvement for typescript, missing `mapping` if use JSON as the config data for the game instance --- src/boot/Config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/boot/Config.js b/src/boot/Config.js index ec7c70666..d03e31544 100644 --- a/src/boot/Config.js +++ b/src/boot/Config.js @@ -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