Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

Canvas.targetDisplay

Switch to Manual
public int targetDisplay;

Description

For Overlay mode, display index on which the UI canvas will appear.

This setting makes a Canvas render into the specified display. Maximum number of secondary displays (eg. monitors) supported is 8.

See Also: Display class, Camera.targetDisplay.

Did you find this page useful? Please give it a rating: