This version of Unity is unsupported.

ContactFilter2D.useLayerMask

public bool useLayerMask;

Description

Sets the contact filter to filter results by layer mask.