unity3d - Unity Multiple displays not working -
i using unity 5.4.1f1 personal edition , working on windows standalone build. want use multiple displays in game. have 2 cameras , set target display of 1 camera display 1 , target display of second camera display 2.
also, have activated display display.displays.length one on editor on build.
so not display on second screen. should display on second screen?
you need activate each additional display in code display.activate
.
see the docs says:
the best time activate additional displays upon creating new scene. way attach script component default camera. make sure call display.activate once during startup. may find helpful create small initial scene test it.
and example, in start()
method:
if (display.displays.length > 1) display.displays[1].activate(); if (display.displays.length > 2) display.displays[2].activate();
note: once monitor has been activated, cannot deactivate it.
Comments
Post a Comment