We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 124b0ff commit 468b61dCopy full SHA for 468b61d
1 file changed
src/gameobjects/lights/LightsPlugin.js
@@ -17,7 +17,10 @@ var PluginCache = require('../../plugins/PluginCache');
17
* Add Lights using the {@link Phaser.GameObjects.LightsManager#addLight} method:
18
*
19
* ```javascript
20
- * // Create a Light at [400, 300] and a radius of 200.
+ * // Enable the Lights Manager because it is disabled by default
21
+ * this.lights.enable();
22
+ *
23
+ * // Create a Light at [400, 300] with a radius of 200
24
* this.lights.addLight(400, 300, 200);
25
* ```
26
0 commit comments