In my unity C# project I want to assign an important PNG image to a sprite. However the images I have important don't show up in the sprite selection menu.
You probably just need to select the right import setting. Namely Sprite instead of Default.
1
votes
in your Project tab find your imported PNG and select it. Inspector will display the import settings for your PNG. Change Texture Type (the very first dropdown in inspector) from Default to Sprite 2D and UI. Now the image will behave like a sprite.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more