Unity ui蒙版不适用于Google Pixel设备 [英] Unity ui mask not working on google pixel device

查看:104
本文介绍了Unity ui蒙版不适用于Google Pixel设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个滚动ui面板并将蒙版应用于ScrollRect组件,该组件应该将部分隐藏在面板区域之外.我正在使用统一版本5.4.2f2-GVR.当我在Google Pixel设备上部署面具时,面具在PC上可以正常工作.这是统一版本的bug还是其他?...

I am making a scrolling ui panel and apply mask to ScrollRect component, which should hides parts outside panel area. I am using unity version 5.4.2f2-GVR. Mask work correctly on pc when i deploy it on google pixel device its not working. Is this bug of unity version or something else....

推荐答案

我通过使用RectMask2D组件而不是常规的Mask解决了这个问题.

I got around this issue by using RectMask2D Component instead of the regular Mask.

这篇关于Unity ui蒙版不适用于Google Pixel设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆