Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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: