Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ColliderHit

Struct used to retrieve information from an Overlap batch query.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public struct ColliderHit

Remarks

Properties

Property

Description

colliderThe Collider that was hit.
entityIdThe EntityId of the Collider that was hit.