기술 자료

Unity Engine

Unity Engine

aliveParticleCount

Returns the sum of all alive particles within the visual effect.
읽는 시간 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.