public Component GetCollider (int particleIndex, int colliderIndex);

Parámetros

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

Valor de retorno

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

Descripción

Retrieve a specific Collider that a particle iss interacting with.