for (int i = 0; i < Display.displays.Length; i++)
{
Display.displays[i].Activate();
Screen.SetResolution(Display.displays[i].renderingWidth, Display.displays[i].renderingHeight, true);
}
Unity3d 激活多个显示屏
最新推荐文章于 2024-03-19 22:34:54 发布
for (int i = 0; i < Display.displays.Length; i++)
{
Display.displays[i].Activate();
Screen.SetResolution(Display.displays[i].renderingWidth, Display.displays[i].renderingHeight, true);
}