hey everyone I am trying to Import a sprite that I made but it is way to small and when I size it up
my movement script won’t work how do I fix this problem? any help would be nice.
The Texture Importer for your sprite has two parameters that you should check:
Pixels To Units: This tells Unity how many pixels in your sprite will take 1 meter in the game world. If your camera’s orthographic size is 5 meters, then you’ll see 10 meters on screen top to bottom. If your sprite is set to 100 pixels per meter (default), then each 100 pixels in your sprite will occupy one tenth of the screen height.
Max Size: this is the maximum size of the sprite. If it’s set to 1024 and your sprite is 2048 pixels, for example, it will shrink your sprite to be 1024 pixels (keeping height/width proportion). This could make your sprite smaller than you expected.
One other thing in the Camera settings, I mentioned before there is a parameter called orthographic size. This tells unity how many game world meters will be displayed by this camera (top/down). If you decrease the size, you basically zoom in and everything will become larger. This does not affect unity GUI.
Good luck.
Thank a lot it really helped me out
thanks that really helped me!
Please just use the like button to show your appreciation rather than necroing a 7 year old thread. This just adds more noise to the forums.
Thanks.