文档

Unity Engine

Unity Engine

loopIndex

The current index of loop.
阅读时间1 分钟最后更新于 21 天前

Definition

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

Remarks

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