简体   繁体   English

Unity 2D 导入 sprite 大于其原始大小

[英]Unity 2D import sprites larger than their original size

So, I made a sprite that is half long an HD screen, but when I import that in Unity and I add it to the scene it's larger than half the screen.所以,我制作了一个半高清屏幕的精灵,但是当我在 Unity 中导入它并将它添加到场景中时,它比屏幕的一半大。 I already set the camera resolution to 1920x1080.我已经将相机分辨率设置为 1920x1080。 How can I solve this?我该如何解决这个问题?

It isn't the size of image that matters, but the container in which it is to be placed.重要的不是图像的大小,而是放置它的容器。 Adjust the size of your Image using Rect Tool and Rect Transform.使用矩形工具和矩形变换调整图像的大小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM