Callum Williams
Callum Williams

Reputation: 41

Unity C# Imported PNG won't show up in sprite source image

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

Answers (2)

You probably just need to select the right import setting. Namely Sprite instead of Default.

Import settings

Upvotes: 9

Nika Kasradze
Nika Kasradze

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

Related Questions