Function useScene

  • useScene is a hook that retrieves the current Scene.

    Don't use this hook if you start multiple Scenes.

    Type Parameters

    • Type = Scene

    Returns Type

    Phaser.Scene