public Component GetCollider (int particleIndex, int colliderIndex);

Parameters

particleIndexThe index of the particle event.
colliderIndexThe index of the collider to obtain.

Returns

Component The Collider or Collider2D Component that a particle is interacting with.

Description

Retrieve a specific Collider that a particle iss interacting with.