37. Which particle changes update during play?
The shared property API can store many values, but an immediate visible rebuild is not guaranteed for every preset and field. Author the emitter and its preset first. Use this distinction when an action changes a value but the current particles look unchanged.
| Authored preset / property | Current runtime behavior |
|---|---|
| All ordinary GPUParticles: particle.enabled | Updates emission; enabling restarts the particle system. |
| Image-based particle.imageAssetId | Updates supported sprite-layer artwork. Heat Haze keeps its specialized material. |
| Heat Haze: heatDistortion, heatSpeed, opacity | Refreshes the existing refractive particle material. |
| Lightning bolt fields | Refreshes the existing procedural bolt. |
| Clouds, Storm Clouds, Bug Cloud, Lightning Ball, Explosion | Live particle-property changes rebuild that effect’s layers while preserving its entity transform and attachment. Particle ages/timing restart. |
| Older ordinary recipes: arbitrary amount, speed, localCoords etc. | Do not assume an immediate rebuild. Apply authored settings and restart/re-enter the room to verify the new setup. |
This makes property changes suitable for authored events, such as changing a ball’s size or starting a blast. It is not an invitation to rebuild a cloud bank on every frame. Rebuilding restarts its visible history and can cause a hitch.
Use a variable or event to choose between already-authored effects when a dramatic change is needed. Repeatedly changing the preset string of an unrelated live emitter is not the supported setup workflow.
