Hello,
Im trying to achieve a multi-display setup with the new built in multidisplay feature.Unity - Manual: Multi-display
This is my situation:
-
Monitor 1: 1920x1080 (windows main monitor)
-
Monitor 2: 1080x1920 (TV in portrait mode)
-
Monitor 3: 1280x800 (projector)
Im trying to figure out how to get it working that my standalone unity application will run on two out of the three displays using the multidisplay feature. At the moment I can make it so it works on all three monitors using the code from the API:
if(Display.displays.Length>1){
Display.displays[1].Activate();
}
if(Display.displays.Length>2){
Display.displays[2].Activate();
}
I also have it working using only the main monitor and the TV (monitor 2).
However, what im trying to achieve is that it will start on the second and third monitor. (NOT the main monitor (Display.displays[0]).
For some reason it always starts the standalone application also in the windows main monitor, for the setup that im using I cannot change the windows primary screen and unity cannot be displayed on this monitor. (another program is running on it that controls the unity application)
-
I tried changing the primary display in using the playersprefs and changing the registry of the application.
-
I also tried using the -multidisplay command but with the same result.
How can I achieve it that the standalone unity application will only run on my second and third monitor which are both NOT the windows main monitor?