在Unity 3D中加入Image图片

时间:2023-03-09 13:37:27
在Unity 3D中加入Image图片

在Unity 3D中加入Image图片,我在刚开始是加不进去的,为什么呢?因为没有图片,图如下:

在Unity 3D中加入Image图片

在Unity 3D中加入Image图片

在Unity 3D中加入Image图片

原因就是我们没有把图片设置为Script,图片的格式还是默认的那个,这只能作为贴图使用。我们将图片进行如下设置就Ok了。

在Unity 3D中加入Image图片