colliderInstanceID
Instance ID of the Collider that was hit.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public int colliderInstanceID { get; }
Remarks
Provides a reference to the collider that was hit in a way that is accessible from jobs. For more information on creating jobs see Create Jobs.