最简单 但是费 首先图片 GetComponent<Image>().alphaHitTestMinimumThreshold = 0.5f; https://docs.unity3d.com/2018.4/Documentation/ScriptReference/UI.Image-alphaHitTestMinimumThreshold.html