- Home /
How to apply custom texture to a sprite?
So I'm making an RTS and am currently working on its basic UI, I have my canvas split into 3 sections each with their own panel as seen in images provided.
I also created a simple texture that I was hoping to apply onto the middle panel but I'm struggling a bit, after I added an image component to the panel it says it only accepts sprites for source images, so I created a simple square sprite but cant figure out how to add my png texture onto that sprite.
I saw some posts mention the unity sprite editor but I need to download it so I'm first hoping there's a way besides that.
Any solutions?
Never$$anonymous$$d, found a solution by searching with different keywords:
https://answers.unity.com/questions/1239809/how-do-i-import-a-custom-image-and-put-it-on-the-c.html