Unity Engine documentationScript ReferenceUnityEngineColliderHitStruct used to retrieve information from an Overlap batch query.阅读时间1 分钟最后更新于 1 个月前Definition Type: Struct Namespace: UnityEngine Assembly: UnityEngine.PhysicsModule public struct ColliderHit Remarks Additional Resources: OverlapBoxCommand, OverlapCapsuleCommand, OverlapSphereCommand Properties PropertyDescriptioncolliderThe Collider that was hit.entityIdThe EntityId of the Collider that was hit.