- Home /
Use parts of spliced sprite and complete version?
I have a sprite sheet of multiple objects. Each of the objects I sliced with Unity‘s Sprite Creator in two parts (so they are all cut in the middle). What I now want to do is to be able to use the different parts one by one in my project, but also the complete object (so both parts of an object combined). (further explanation: the player collects the parts to build the whole object).
Some options I thought about:
Don‘t split the objects in the sprite sheet, but only slice it to have access to the complete versions of each object and then split the sprite of an object in the code on demand.
Have two sprite sheets for the objects: one with the parted and one for the complete versions.
Put the parts on a gameobject each and position the game objects so that it looks like that they are merged together.
But I would really prefer a variant that I have just one Sprite Sheet in which I slice the objects into two parts, but still can somehow reference the complete object.
Do you have any advice for me to do that?
Thank you!
Your answer
![](https://koobas.hobune.stream/wayback/20220612190430im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Is there any benefit to slicing in power of two dimensions inside a sprite sheet? 1 Answer
add animation frames to existing spritesheet with animations? 0 Answers
How can I key out (remove) a color from a spritesheet (2D)? 1 Answer
What are the best practices for reusing an animation controller? 0 Answers
2D sprite renders a small part of another one with "Sprite Mode : Multiple" 0 Answers