文档

Unity Engine

Unity Engine

playOnAwake

If set to true, the Particle System will automatically start playing on startup.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
警告
Deprecated. playOnAwake property is deprecated. Use main.playOnAwake instead.
public bool playOnAwake { get; set; }

Remarks

Note that this setting is shared between all Particle Systems in the current particle effect.