Version: 2017.3
public void SetLayerMask (LayerMask layerMask);

Parameters

layerMask The value used to set the layerMask.

Description

Sets the layerMask filter property using the layerMask parameter provided and also enables layer mask filtering by setting useLayerMask to true.