Search Unity

Get number of available system displays in Editor

Discussion in 'Editor & General Support' started by highlyinteractive, Aug 13, 2020.

  1. highlyinteractive

    highlyinteractive

    Joined:
    Sep 6, 2012
    Posts:
    116
    According to this issue, it seems it hasn't ever been possible to use Display.displays.Length in the editor.

    Is there any (cross platform, but ideally Mac) way to get the number of available displays from inside the Unity editor?