Giter VIP home page Giter VIP logo

spriteatlasexplorer's Introduction

Sprite Atlas Explorer

Utility for find source sprites from Sprite Atlas by clicking on the atlas textures. It's useful when you want to optimize the size and memory usage of atlas textures. you wnat to find the origin sprite asset from Sprite Atlas after previewing the textures. When there are too many sprites in it, frequently looking for where the sprite comes from always takes too many times. This tool can help you find the sprite from sprite atlas easily. By looking at the atlas texture, and clicking the sprite on it, it will navigate to the sprite asset.

How to use

Install

It's a unity package, to import it, you can either:

  • clone it into folder Packages
  • or import it by Package Manager, with the mode 'Add package from git URL' Add package from git URL

supported Unity version

Support Unity 2019.4 or newer

open

To open this tool, either by menu command Window->UI-Sprite Atlas Explorer, or Sprite Atlas's context menu "Open Sprite Atlas Explorer" open from menu item open from context menu

usage

  • Mouse scroll to zoom in/out the texture
  • Hold mouse right button to drag texture
  • Click with mouse left button to highlight the origin sprite asset

Known issues

  • not fully tested with SpriteAtlasv2
  • to use the tool, Sprite Packer Mode needs to be set 'Sprite Atlas V1 - Always Enabled' in Editor section of Project Settings
  • if you meet the error 'sprite(s) not connected to sprite atlas.', you need to enter and exit Play Mode quickly for one time. Before entering Play Mode, Unity will setup sprite data with sprite atlas, which is needed by this tool.

License

MIT License

Copyright © 2021 cannaan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.