Version
- Phaser Version: Phaser v3.16.2-FB(Canvas | WebAudio)
Description
when window got resize, I call , and new Phaser.Game(), and
this.sys.game.destroy(true)
let game = new Phaser.Game(config)
create: function () {
let logo = this.add.image(0, 0, 'logo').setInteractive()
logo.on('pointerdown', function () {
console.log('click')
})
}
when i use mouse to click this, it doesn't fire the pointerdown
Example Test Code
Additional Information
Version
Description
when window got resize, I call , and new Phaser.Game(), and
when i use mouse to click this, it doesn't fire the pointerdown
Example Test Code
Additional Information