Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


loopIndex

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

Definition

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

Remarks

This value should be less than _loopCount. Unity compares this value to _loopCount at the current iteration to decide on the next state.