()
| 14 | } |
| 15 | |
| 16 | override async apply(): Promise<void> { |
| 17 | const particlesAction = this.engine.action('Particles') as { stop?: () => void } | undefined; |
| 18 | if (particlesAction?.stop) { |
| 19 | particlesAction.stop(); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | override async didApply(): Promise<ActionApplyResult> { |
| 24 | this.engine.state({ |