Rigidbody2D.collisionDetectionMode
var collisionDetectionMode: CollisionDetectionMode2D;
CollisionDetectionMode2D collisionDetectionMode;
collisionDetectionMode as CollisionDetectionMode2D
Description

The method used by the physics engine to check if two objects have collided.