Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Multidisplay: detect new display at runtime

Discussion in 'Scripting' started by piede828, Jan 21, 2021.

  1. piede828


    Dec 12, 2017
    I'm trying to build an app that can switch to a second display if this is detect while the app is running.
    The problem I have is that Display.display.length is read only at startup and it's not getting refreshed when monitors are connected or disconnected.

    Is there a way to force that refresh?