Use `scene.sys.settings.key` instead of `scene.scene.key` to correctly retrieve the scene key from the Phaser scene instance. |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||
Use `scene.sys.settings.key` instead of `scene.scene.key` to correctly retrieve the scene key from the Phaser scene instance. |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||