기술 자료

Unity Engine


Unity Engine


eventCameras

The list of Event Cameras used to transform screen positions into world-space rays.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public Camera[] eventCameras { get; set; }

Remarks

If multiple Event Cameras are specified, the Event Cameras are processed sequentially until one of the cameras produces a ray that hits a Collider.
If no Event Camera is specified, screen-based events are disabled.
If World Space input is disabled, this property has no effect.