之前调用小键盘,unity窗口会自动缩小。 这个困扰了我很久的问题今天终于解决了,解决办法就是在Player Setting里的 visable in background 勾选上 ps:版本是unity2018.2