Version: 2020.3
public static Display[] displays ;


The list of currently connected displays.

In a built application, Unity automatically updates this list when you connect or disconnect a display. 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.