Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


loop

Determines whether the Particle System is looping.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
Warning
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.