This version of Unity is unsupported.

ColliderData

struct in UnityEngine

/

Implemented in:UnityEngine.ParticleSystemModule

Switch to Manual

Description

Script interface for particle Collider data.

ColliderData contains information about which Colliders a particle is interacting with. It can be used in the MonoBehaviour.OnParticleTrigger callback, when the Trigger module is enabled.

Public Methods

GetColliderRetrieve a specific Collider that a particle iss interacting with.
GetColliderCountReturns how how many Colliders a particle is interacting with.