Unity设置按钮透明部分不能操作

Image image = gameObject.GetComponent<Image>();
image.alphaHitTestMinimumThreshold = 0.5f;

猜你喜欢

转载自blog.csdn.net/weixin_43109909/article/details/107948900