GetCollider(int, int)
Retrieve a specific Collider that a particle iss interacting with.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public Component GetCollider(int particleIndex, int colliderIndex)
Parameters
Returns
Type | Description |
|---|---|
| Component | The Collider or Collider2D Component that a particle is interacting with. |