Version
Description
Test code
var layer = this.add.layer();
var isGameObject = layer instanceof Phaser.GameObjects.GameObject;
console.log(isGameObject);
false in console.
Although it call GameObject.call(this, scene, 'Layer'), but the layer instanceof Phaser.GameObjects.GameObject is still return false.
Version
Description
Test code
falsein console.Although it call GameObject.call(this, scene, 'Layer'), but the
layer instanceof Phaser.GameObjects.GameObjectis still returnfalse.