Reputation: 41
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.
Upvotes: 1
Views: 7516
Reputation: 15941
You probably just need to select the right import setting. Namely Sprite
instead of Default
.
Upvotes: 9
Reputation: 3019
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.
Upvotes: 1