Unity打包后设置窗口的方式
1、设置路径:File ☞ Build Settings ☞Pc and Mac Standalone ☞ Player Settings ☞Resolution and Presentation ☞Display Resolution Dialog 选项改为 Disabled
2、然而实测上述设置并不能实现窗口化运行,别灰心,我们离成功相当近了!
其实只需要在任意一个脚本里面的Start
方法里面添加如下的一句代码就能解决问题;
Screen.fullScreen = false;