기술 자료

Unity Engine

Unity Engine

defaultEventCameraIsMainCamera

This option is enabled by default, automatically selecting the Main Camera (if available) as the Event Camera to transform screen positions into world-space rays.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public bool defaultEventCameraIsMainCamera { get; set; }

Remarks

If the Main Camera changes, the Event Camera is updated automatically with the new Camera.
If no Main Camera is active, screen-based events are disabled until a Main Camera becomes active again.
If World Space input is disabled, this property has no effect.