기술 자료

Unity Engine

Unity Engine

GetColliderCount(int)

Returns how how many Colliders a particle is interacting with.
읽는 시간 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.