ドキュメント

Unity Engine

Unity Engine

maxInteractionDistance

The maximal distance considered when casting world-space rays to determine the target of pointer events.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public float maxInteractionDistance { get; set; }

Remarks

The default Raycasting Distance is Mathf.Infinity.
If World Space input is disabled, this property has no effect.