1, first download texturepackage tools, online cracked version of the website can also be downloaded to use the free version, https://www.codeandweb.com/texturepacker/, then the simple installation is not too much introduction.
2, open our Texturepackage tools, ready our pictures, I use the resources of the image from the Internet, and then the selection of drag and drop to the right end of the Texturepackage tool, Texturepackage will automatically help you fill the good, The rest is to set the picture,
3. The next step is to import texturepackage generated PNG and txt into our unity project, as well as import the Ngui plugin. Then we create a Ngui atlas, we select a picture in our project directory right-click Ngui->open, and after that create a gallery prefab, this time Ngui will help us create the good one map, Now all we need to do is to remove the texture image from the Ngui created Atlas, and then import the PNG image and TXT file we used to generate the texturepackage.
4, so that we can use texturepackage packaging to generate good compressed images and txt create Ngui Atlas, for texturepackage benefits we can go to their official website to see that the optimization of the game has a certain help.
Unity3d using the Texturepacker Packaging tool to make a Ngui (Atlas) Collection