Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


instanceID

The instance ID of the Collider that was hit.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public int instanceID { get; }