174175176177178179180181182183184
} output.setNameFormat(eachAnimation.name + "-", null); packer.setOutput(output); packer.process(maxWidth, maxHeight, true); animationIndex++; } } else { Set<Texture> allTextures = new HashSet<Texture>();
198199200201202203204205206207208
} output.setNameFormat("atlas-", null); packer.setOutput(output); packer.process(maxWidth, maxHeight, true); } return output; }