format
typescript
ParticleSystem.Stop(value)class: ParticleSystem
description
Stops the playback of the particle system using the provided stop behavior.
parameter
| param_name | type | description |
|---|---|---|
| value | PSStopBehavior? | The behavior to apply when stopping. |
reture
| type | description |
|---|---|
void |
code example
typescript
let obj = new GameObject();
let com = obj.AddComponent<ParticleSystem>(ParticleSystem);
com.Stop();