targetDisplay
For Overlay mode, display index on which the UI canvas will appear.
Read time 1 minuteLast updated 5 days ago
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, _targetDisplay