File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ var ScenePlugin = new Class({
101101 *
102102 * @return {Phaser.Scenes.ScenePlugin } This ScenePlugin object.
103103 */
104- start : function ( key )
104+ start : function ( key , data )
105105 {
106106 if ( key === undefined ) { key = this . key ; }
107107
@@ -115,7 +115,7 @@ var ScenePlugin = new Class({
115115 else
116116 {
117117 this . manager . stop ( this . key ) ;
118- this . manager . start ( key ) ;
118+ this . manager . start ( key , data ) ;
119119 }
120120 }
121121
@@ -152,7 +152,7 @@ var ScenePlugin = new Class({
152152 *
153153 * @return {Phaser.Scenes.ScenePlugin } This ScenePlugin object.
154154 */
155- launch : function ( key )
155+ launch : function ( key , data )
156156 {
157157 if ( key && key !== this . key )
158158 {
@@ -162,7 +162,7 @@ var ScenePlugin = new Class({
162162 }
163163 else
164164 {
165- this . manager . start ( key ) ;
165+ this . manager . start ( key , data ) ;
166166 }
167167 }
168168
You can’t perform that action at this time.
0 commit comments