文档

Unity Engine


Unity Engine


aliveParticleCount

Returns the sum of all alive particles within the visual effect.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

If the particle count is only available on the GPU, the actual result can be delayed. This is because the system uses an asynchronous readback to retrieve the result.