collider
The Collider that was hit.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public Collider collider { get; }
Remarks
Can only be called from the main thread.
public Collider collider { get; }