Sprite Exporter

FREE
Publisher Seyyed Mahdi Faghih
File size 811.03kB
Number of files 4
Latest version 1
Latest release date 2024-09-06 04:55:12
First release date 2024-09-06 04:55:12
Supported Unity versions 2018.4.2 or higher

The SpriteExporter script is a Unity Editor tool designed to Export sliced sprites from a specified Texture2D into individual PNG files. This can be particularly useful for extracting and saving individual sprites from a Sprite Sheet.


Github: Click here


🤝 EXECUTION GUIDE

  • Download and Import the Asset into your project.
  • Update the spritePath variable in the ExportSlicedSprites method to point to the texture containing the sliced sprites you want to export. You can get the path by right-clicking on the texture and selecting "Copy Path".
  • Ensure that the Read/Write property of the texture is enabled and the TextureType property of the texture is Sprite (2D and UI).
  • In the Unity Editor, go to the menu bar and select Tools > Export Sliced Sprites. This will execute the script and export the sliced sprites.

Top Publisher Assets