mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Added new customViewports counter
This commit is contained in:
parent
1a62a3563e
commit
f2290abf9b
1 changed files with 11 additions and 0 deletions
|
@ -122,6 +122,17 @@ var SceneManager = new Class({
|
|||
*/
|
||||
this.isBooted = false;
|
||||
|
||||
/**
|
||||
* Do any of the Cameras in any of the Scenes require a custom viewport?
|
||||
* If not we can skip scissor tests.
|
||||
*
|
||||
* @name Phaser.Scenes.SceneManager#customViewports
|
||||
* @type {number}
|
||||
* @default 0
|
||||
* @since 3.12.0
|
||||
*/
|
||||
this.customViewports = 0;
|
||||
|
||||
if (sceneConfig)
|
||||
{
|
||||
if (!Array.isArray(sceneConfig))
|
||||
|
|
Loading…
Reference in a new issue