unity UGUI 透明区域点击无效

this.GetComponent<Image>().alphaHitTestMinimumThreshold = 0.1f;

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

猜你喜欢

转载自blog.csdn.net/qq_37524903/article/details/123597263