This version of Unity is unsupported.
Method group is Obsolete

RaycastCommand.layerMask

Obsolete Layer Mask is now a part of QueryParameters struct. public int layerMask;

Description

A LayerMask that is used to selectively ignore Colliders when casting a ray.