ドキュメント

Unity Engine

Download Unity

Unity Engine

maxDepth

Sets the contact filter to filter the results to only include Collider2D with a Z coordinate (depth) less than this value.
読み終わるまでの所要時間 1 分最終更新 7時間前

Definition

public float maxDepth

Remarks

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