The Sprite Extractor Tool allows you to extract individual sprites from a larger sprite sheet.
- Drag and Drop Sprite Sheet Anywhere on the editor
- Automatically Extract Sprites on Drop Toggle
- Drag and Drop Multiple selected sprite sheets for Automatic Extraction (Auto Extract on Drop must be on)
- Draggable and Zoomable Sprite Sheet Display Image
- Quick Extraction Features (Sprite sheet and GIF):
- Right Click and Extract Sprites
- Choose where to Extract Sprites (current location of sprite sheet or any other folder)
- Sprite sheet Setup
Make sure you have the Unity Sprite Editor package installed that comes with the Unity 2D Packages.
To setup your spritesheet correctly you need to apply some of the following changes.
Changes that are denoted with an asterisk (*) are required!
- Multiple
- To Allow White Space set Mesh Type to Full Rect.
- To Remove White Space set Mesh Type to Tight.
- Enable Read/Write mode
It's ok if you forget to do this step the sprite extractor will automatically apply this setting to your spritesheet if it has not been enabled.
- Click Sprite Editor
- Slice your Spritesheet Manually by selecting regions you wish to extract
- Slice your Spritesheet Automatically by either
- Using the Automatic option - Unity automatically finds individual sprites in the spritesheet (may not work as desired)
- Using the Cell Size of the individual Sprites
- Using the Number of Columns and Rows the Spritesheet is made up of
- Apply any padding and offsets that you may require
- Click Apply once you are done!
Once this is done, you can use either the Sprite Extractor Tool or Quick Extraction to Extract the Sprites.
Open the Sprite Extractor from the menu bar Lazy-Jedi/2D Tools/Sprite Extractor
Then Select or Drag your Sprite Sheet onto the Tool and Click the Extract Button.
However, you can click the Auto Extract on Drop toggle to automatically extract your sprites.
- Find your Spritesheet
- Right Click on your Spritesheet
- Navigate to Create/2D/Spritesheet/
- Extract From Source
- Extracts all the Sliced Sprites
- Extract From Metadata
- Select and Extract one or more Images that was Sliced using the Unity Sprite Editor
- Extract From Source
- Choose your extraction method
- Done!
Sprite Extractor Tool now has an additional Tool for GIF Frame extraction.
To use the GIF extractor all you need to do is the following:
- Find your GIF
- Right Click on your GIF
- Navigate to Create/2D/Spritesheet/Extract GIF Frames/
- Choose your extraction method
- Done!
Its that simple. It is that easy. Happy Extracting ♥