File > Build Settings... > Player > Resolution and Presentation > Run In Background* √ 设置选中。
让unity程序后台运行
原文:https://www.cnblogs.com/tangyongle/p/14261411.html