unity识别当前连接了几个显示器
- unity API,Display.displays.Length,这个当前电脑连接的显示器数量
- unity 介绍文档,https://connect.unity.com/doc/Manual/MultiDisplay
- 在Editor下,Display.displays.Length始终为1,所以测试需要打包后在测
public class DisplayScreen : MonoBehaviour {
void Awake() {
Debuger.Log("显示器个数&#