Version: 2022.3
言語: 日本語
public LayerMask layerMask ;

説明

Sets the contact filter to filter the results that only include Collider2D on the layers defined by the layer mask.

This field takes effect if useLayerMask is true.

関連項目: LayerMask.