当前位置: 代码迷 >> 综合 >> unity UGUI 透明区域点击无效
  详细解决方案

unity UGUI 透明区域点击无效

热度:14   发布时间:2023-11-18 04:44:15.0
this.GetComponent<Image>().alphaHitTestMinimumThreshold = 0.1f;

图片资源本身 勾选上 可读 ,Mesh Type =Full Rect  即可

  相关解决方案