Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


loopCount

The current loop count.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.VFX
  • Assembly: UnityEngine.VFXModule
public int loopCount { get; set; }

Remarks

A VFXSpawner considers a negative value as an infinite count. The VFXSpawner resets this value whenever you invoke Play on the Spawn context.