How do you load a single sprite from a multiple sprite sheet with script?

Honestly, no one as a suitable functioning answer to this but I am desperate because i have spent ages creating this sprite sheet and it would take ages to save them all as individuals.

the best i have is

Resources.Load(“SpriteName”)

this works for single sprites but not individual sprites from a multiple sprite sheet.
Someone please help.

Hi @FirstTimeN00b

You can load the Spritesheet as a Texture3D and use Sprite.Create to “cut” parts out of the spritesheet.

The Parameter you want to look at is the rect one. Instead of going through the whole image like in the example, you would have to define start positions and width/height. I hope you created your spritesheet in a grid, otherwise this step will be tedious :wink: