文档

Unity Engine

Unity Engine

loop

Determines whether the Particle System is looping.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

If you disable looping on a playing Particle System, it will stop after the end of the current loop.