unity导入TexturePacker处理

一、从Asset Store里下载TexturePackerImporter ,而后导入到项目中。blog

二、导入unity的一张大图和一个.tpsheet文件(注意原始图片也要在相同目录)图片

三、代码导入it

Sprite[] oAssets = Resources.LoadAll<Sprite>("*****");
相关文章
相关标签/搜索