Is it possible to use Sprites with GUI?

I want to be able to use the same Sprites that are used in my scene for my UI as well, so I don’t need to have to construct an GUI.Image class for each Sprite in my spritesheet. But I’m not sure if it’s possible…

Hi Sme!

Can you provide a few more details about what exactly you’re trying to do? A kind of min-repro Playground illustrating what you’re trying to avoid (i.e., having to have separate sprite and GUI.Image) would be ideal; that would help us see exactly what you’re asking and give us a place to play around with it to look for a solution. Thanks!

1 Like

Hi guys. Be sure to check image - animation sheet section of the GUI docs, as well. It’s not sprites, but it’s GUI Image elements that act like sprites.

1 Like