Version: 2023.1
言語: 日本語

ColliderData

struct in UnityEngine

マニュアルに切り替える

説明

Script interface for particle Collider data.

ColliderData contains information about which Colliders a particle is interacting with. It can be used in the MonoBehaviour.OnParticleTrigger callback, when the Trigger module is enabled.

Public 関数

GetColliderRetrieve a specific Collider that a particle iss interacting with.
GetColliderCountReturns how how many Colliders a particle is interacting with.