ParticleSystem
继承自 Component
ParticleSystem类用于创建和管理粒子系统。
可以通过以下方式获取ParticleSystem组件:
typescript
let obj = new GameObject();
let com = obj.AddComponent<ParticleSystem>(ParticleSystem);成员变量
成员方法
ParticleSystem.Play ( ) : void |
| 播放粒子。 |
ParticleSystem.Pause ( ) : void |
| 暂停粒子系统。 |
ParticleSystem.Stop ( value : PSStopBehavior? ) : void |
| 使用提供的停止行为停止播放粒子系统。 |
