mazoku Posted June 10, 2018 Share Posted June 10, 2018 When you use scene.switch is there a way to know that in the awaken scene? Some method that is called when a scene is awaken or event I can listen to? Link to comment Share on other sites More sharing options...
snowbillr Posted June 11, 2018 Share Posted June 11, 2018 Here's the list of Scene events that you can listen to: https://github.com/photonstorm/phaser/blob/master/src/plugins/ScenePlugin.js#L66. Looking at the source of the switch method it looks like it calls either `wake` or `start` on the scene you are switching to. mazoku 1 Link to comment Share on other sites More sharing options...
Recommended Posts