기술 자료

Unity Engine

Unity Engine

colliderQueryMode

Determines whether collider information is available when calling ParticleSystem::GetTriggerParticles.
읽는 시간 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.