Version: 2022.1
public Component GetCollider (int particleIndex, int colliderIndex);

参数

particleIndex The index of the particle event.
colliderIndex The index of the collider to obtain.

返回

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

描述

Retrieve a specific Collider that a particle iss interacting with.