- Home /
Slicing sliced sprite via script
How can I slice sprite into smaller sprites which itself comes from sliced sprite sheet?
I have sprite sheet that I sliced using Unity Editor, OK, now I can take sprite that I want and now I need to cut it into smaller sprites so I could use it to create material which my Particle System will use.
Any ideas how?
I was trying to do it like here but the thing is it uses Texture2D which apparently is my sprite sheet, sooo... How to do this?
P.S. Sprites from Sprite Sheet are 32x32 and I want there to be, E.g., 16 8x8 pieces
P.P.S. Basically what I want to do
UPD: I managed to do this using single sprite
Your answer
Follow this Question
Related Questions
How do I fill a Texture2D with pixels and display a sprite with that texture using script? 1 Answer
Texturing custom 2d sprite 0 Answers
Image distorts when created in C# 3 Answers
(C#) Help with Spriterenderer.sprite 2 Answers
sprite border 0 Answers