Force unity 3d to run in a specific monitor?

Hi folks,

is possible to force a standalone build in Windows do run in a specific monitor in Window mode?

I have an application here and we need it to run in another monitor automatically, is there anyway to do this?

Unity has no built-in functions for this. I guess it should be possible with the windows-API. I’m not sure if the mono environment will allow you to directly access those window functions like SetWindowPos.

When an application runs in window mode it isn’t bound to a specific monitor. That completely depends on the desktop-extention-mode. Basically it’s just the window position that needs to be changed.

I guess the easiest and most robust way is a small native code plugin written in c++ or something like that.

http://unity3d.com/support/documentation/Manual/Command%20Line%20Arguments.html talks about -adapterN.