Skip to content

Commit 6adb886

Browse files
author
Elliott Wallace
committed
Added this.scale property to Scene
1 parent f9cb897 commit 6adb886

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/scene/Scene.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,16 @@ var Scene = new Class({
255255
*/
256256
this.facebook;
257257
}
258+
259+
/**
260+
* A reference to the global Scale Manager.
261+
* This property will only be available if defined in the Scene Injection Map.
262+
*
263+
* @name Phaser.Scene#scale
264+
* @type {Phaser.Scale.ScaleManager}
265+
* @since 3.16.1
266+
*/
267+
this.scale;
258268
},
259269

260270
/**

0 commit comments

Comments
 (0)