Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


displays

The list of connected displays.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Display[] displays

Remarks

In a built application, Unity populates this list when the application starts. It always contains at least one (main) display.
In the Unity Editor,
displays
is not supported;
displays.Length
always has a value of 1, regardless of how many displays you have connected.
Additional Resources: Display.main.