ドキュメント

Unity Engine

Unity Engine

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.