Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(examples): the streamed world's emitters use the fields the component has

esengine96c2442bc363
diff --git a/examples/world-streaming-3d/assets/scenes/main.esscene b/examples/world-streaming-3d/assets/scenes/main.esscene
index d6d85c389..1b31ed379 100644
--- a/examples/world-streaming-3d/assets/scenes/main.esscene
+++ b/examples/world-streaming-3d/assets/scenes/main.esscene
@@ -707,8 +707,8 @@
"type": "ParticleEmitter",
"data": {
"maxParticles": 8,
- "emissionRate": 0,
- "playing": false,
+ "rate": 0,
+ "playOnStart": false,
"subEmitter": 9
}
}
@@ -781,8 +781,8 @@
"type": "ParticleEmitter",
"data": {
"maxParticles": 8,
- "emissionRate": 0,
- "playing": false
+ "rate": 0,
+ "playOnStart": false
}
},
{