format
typescript
ParticleSystem.sizeByVelocityModuleEnableclass: ParticleSystem
description
Whether to enable the SizeByVelocityModule.
This module controls the size of particles based on their velocity.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
boolean | Whether the SizeByVelocityModule is enabled. |
code example
typescript
let obj = new GameObject();
let com = obj.AddComponent<ParticleSystem>(ParticleSystem);
com.sizeByVelocityModuleEnable;