format
typescript
ParticleSystem.playOnAwakeclass: ParticleSystem
description
Whether to automatically play on startup.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
boolean | Whether to automatically play on startup. |
code example
typescript
let obj = new GameObject();
let com = obj.AddComponent<ParticleSystem>(ParticleSystem);
com.playOnAwake;