按照咱们的老习惯,讲一下起因,拼UI的时候碰到下面这种情况:
这是什么情况引起的呢,我们分析的话也就俩情况
1.美术给的资源不对
2.unity设置问题
Wrap Mode的几个模式:
Repeat Tiles the texture, creating a repeating pattern.
Clamp Clamps the texture to the last pixel at the edge.
Mirror Tiles the texture, creating a repeating pattern by mirroring it at every integer boundary.
MirrorOnce Mirrors the texture once, then clamps to edge pixels.