format
typescript
ParticleSystem.velocityModuleSpeedModifierclass: ParticleSystem
description
A curve that controls the speed of particles based on their lifetime, without affecting the direction of the particles.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
PSCurve | None |
code example
typescript
let obj = new GameObject();
let com = obj.AddComponent<ParticleSystem>(ParticleSystem);
com.velocityModuleSpeedModifier;