文档

Unity Engine

Unity Engine

GetColliderCount(int)

Returns how how many Colliders a particle is interacting with.
阅读时间1 分钟最后更新于 1 个月前

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.