dontHaveName

disableVisibilityChange in Phaser 3

Recommended Posts

Is this still correct for Phaser 3.12.0?

I'm trying the following in TypeScript and it appears both onHidden and onVisible are protected.

this.game.events.off("hidden", this.game.onHidden, this.game, false);
this.game.events.off("visible", this.game.onVisible, this.game, false);

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.