format
typescript
ParticleSystem.colorModuleEnableclass: ParticleSystem
description
Whether to enable the color of the particle throughout its entire lifecycle.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
boolean | Whether to enable the color of the particle throughout its entire lifecycle. |
code example
typescript
let obj = new GameObject();
let com = obj.AddComponent<ParticleSystem>(ParticleSystem);
com.colorModuleEnable;