Function render

  • Renders a piece of JSX into a Phaser scene.

    Parameters

    • element: Element

      Element that you want to display.

    • scene: Scene

      Phaser scene.

    Returns void