问题. imge 和 button重叠时,imge 覆盖在button上面,导致点击事件无法传递到button。

1.给imge 添加 【Canvas Group】组件

2.修改【Canvas Group】组件,属性 【Blocks Raycasts】 为false (就是不勾选)。

[UNITY 5.4 UGUI]  控件重叠触摸穿透-LMLPHP

05-06 04:43