Version: 2022.3

ColliderHit

struct in UnityEngine

切换到手册

描述

Struct used to retrieve information from an Overlap batch query.

变量

colliderThe Collider that was hit.
instanceIDThe instance ID of the Collider that was hit.