Version: 2021.3
言語: 日本語
public float maxDepth ;

説明

Sets the contact filter to filter the results to only include Collider2D with a Z coordinate (depth) less than this value.

This is only used if useDepth is true. If the maxDepth is set to -Mathf.Infinity or Mathf.Infinity then the highest possible depth is used.

関連項目: Transform.