TriggerEnter2D.layerMaskProperty in TriggerEnter2DDeclarationpublic LayerMask layerMaskDescriptionThe layers that this object can collide with.