A fix is on the way. You can work around the issue now by moving the UGUI package from the PackageCache folder into the projects Packages folder. Then replace the file MyProject\Packages\com.unity.ugui\Runtime\UI\Core\MultipleDisplayUtilities.cs with this one https://gist.github.com/karljj1/e333a7a3f192a5d264d95bfbaff0fde8
解决步骤:
把UGUI文件夹 从PackageCache 复制到 工程 Packages文件夹
下载 MultipleDisplayUtilities.cs 并替换。

文章描述了一个Unity3D构建在窗口模式下运行时,关于UGUI包中的MousePointer输入坐标在某些窗口尺寸下出错的问题。已知解决方案是将UGUI包从PackageCache移动到项目Packages文件夹,并替换MultipleDisplayUtilities.cs文件。提供了一个修复后的MultipleDisplayUtilities.cs源代码。
最低0.47元/天 解锁文章
815

被折叠的 条评论
为什么被折叠?



