Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetColliderCount(int)

Returns how how many Colliders a particle is interacting with.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public int GetColliderCount(int particleIndex)

Parameters

particleIndex

The index of the particle event.

Returns

Type

Description

intThe number of Colliders the particle is interacting with.