Skip to content

format

typescript
ParticleSystem.Stop(value)

class: ParticleSystem

description

Stops the playback of the particle system using the provided stop behavior.

See Also: Play, Pause

parameter

param_nametypedescription
valuePSStopBehavior?The behavior to apply when stopping.

reture

typedescription
void

code example

typescript
let obj = new GameObject();
let com = obj.AddComponent<ParticleSystem>(ParticleSystem);
com.Stop();