Documentation

Unity Engine

Unity Engine

colliderQueryMode

Determines whether collider information is available when calling ParticleSystem::GetTriggerParticles.
Read time 1 minuteLast updated 2 months ago

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.