colliderQueryMode
Determines whether collider information is available when calling ParticleSystem::GetTriggerParticles.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public ParticleSystemColliderQueryMode colliderQueryMode { get; set; }
Remarks
Use this option if you need to know which Colliders particles interacted with, inside the OnParticleTrigger callback.
Using it has an impact on performance, therefore it is disabled by default.