From 5058b337bd8f7460d6d71c0808c4d1e11d047d29 Mon Sep 17 00:00:00 2001 From: samme Date: Sun, 21 Apr 2019 11:08:03 -0700 Subject: [PATCH] Docs for scene events --- src/plugins/ScenePlugin.js | 42 +++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/plugins/ScenePlugin.js b/src/plugins/ScenePlugin.js index afd3ffaef..105f92059 100644 --- a/src/plugins/ScenePlugin.js +++ b/src/plugins/ScenePlugin.js @@ -41,29 +41,29 @@ var ScenePlugin = new Class({ /** * This method is called when the Scene boots. It is only ever called once. - * + * * By this point the plugin properties `scene` and `systems` will have already been set. - * - * In here you can listen for Scene events and set-up whatever you need for this plugin to run. + * + * In here you can listen for {@link Phaser.Scenes.Events Scene events} and set-up whatever you need for this plugin to run. * Here are the Scene events you can listen to: - * - * start - * ready - * preupdate - * update - * postupdate - * resize - * pause - * resume - * sleep - * wake - * transitioninit - * transitionstart - * transitioncomplete - * transitionout - * shutdown - * destroy - * + * + * - start + * - ready + * - preupdate + * - update + * - postupdate + * - resize + * - pause + * - resume + * - sleep + * - wake + * - transitioninit + * - transitionstart + * - transitioncomplete + * - transitionout + * - shutdown + * - destroy + * * At the very least you should offer a destroy handler for when the Scene closes down, i.e: * * ```javascript