Home > database >  Unity2D UI>Image doesn't show the full image and appears differently between two projects. W
Unity2D UI>Image doesn't show the full image and appears differently between two projects. W

Time:07-17

I added a Unity UI>Image to my project with a given source image (called Btn_OtherButton_Blue). It appears cropped in some way. It doesn't show the full button image, the top seems cut off. I added a UI>Image to a different project with the same source image and it appears differently. In that project it seems like it's using the full image uncropped.

I've compared the projects and can not find the difference. I'm new to Unity. There's probably something simple I'm missing. I have an imgur link to show what I mean.

https://imgur.com/a/nhJN3Ko

The settings seem the same to me. Is there a crop property of UI>Image that's hidden that could determine why one project shows more of the source image than the other?

CodePudding user response:

compare the settings of the sourcefile of each project. it looks like the image sourcefiles are using different values for "Pixels Per Unit".

  • Related