- Home /
Question by
Cranke · Jan 13, 2016 at 12:09 AM ·
canvasdisplaymonitorresolution dialog
How to figure out display # chosen in Display Resolution Dialog?
Is there a way to figure out the display number chosen by the user in the Display Resolution Dialog (at the launch of the application)?
With my multiple displays, Unity seems to be getting confused about which monitor the application is running on in full screen mode. It looks to be causing the issue I asked about in link text
In that case, my canvas.targetDisplay is set to display 1, but my actual display on which I'm running the application is display 2. I'd like to figure out somehow that the user has chosen display 2 on which to launch the program and I'd like to manually set canvas.targetDisplay to that display. This seems to fix all the issues I'm seeing when I have multiple monitors.
Thoughts?
Comment