기술 자료

Unity Engine

Unity Engine

maxInteractionDistance

The maximal distance considered when casting world-space rays to determine the target of pointer events.
읽는 시간 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.