targetDisplay
For Overlay mode, display index on which the UI canvas will appear.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.UIModule
public int targetDisplay { get; set; }
Remarks
This setting makes a Canvas render into the specified display. Maximum number of secondary displays (eg. monitors) supported is 8.
Additional Resources: Display class, Camera.targetDisplay.