{"id":6293,"date":"2026-01-17T11:28:13","date_gmt":"2026-01-17T03:28:13","guid":{"rendered":"https:\/\/blog.coolcoding.cn\/?p=6293"},"modified":"2026-01-17T11:28:13","modified_gmt":"2026-01-17T03:28:13","slug":"%e5%be%ae%e4%bf%a1%e5%b0%8f%e6%b8%b8%e6%88%8fatlas%e4%bc%98%e5%8c%96%e6%96%b9%e6%a1%88%e5%b0%9d%e8%af%95","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=6293","title":{"rendered":"\u5fae\u4fe1\u5c0f\u6e38\u620fAtlas\u4f18\u5316\u65b9\u6848\u5c1d\u8bd5"},"content":{"rendered":"\n<p>\u95ee\u9898\u63d0\u51fa\uff1a<\/p>\n\n\n\n<p>Unity\u7684Atlas\u4e00\u5b9a\u4e3aNPO2\uff0c\u6bd4\u8f83\u6d6a\u8d39\u7a7a\u95f4\uff0c\u53ef\u4ee5\u4f7f\u7528ASTC6x6\u7684\u975eNPO2\uff0c\u8282\u7701\u9762\u79ef<\/p>\n\n\n\n<p>\u65b9\u6cd5\u5c1d\u8bd5<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u6563\u6587\u4ef6\u5f15\u7528\u65b9\u5f0f<\/h1>\n\n\n\n<p>png.meta\u4e2d\u6709\u8d44\u4ea7\u7684\u5168\u5c40guid\uff0c\u4f8b\u5982340767bb6f19e994d80df6bfab11b0ba<\/p>\n\n\n\n<p>UIImage\u5f15\u7528\u6b64Sprite\u65f6\uff1a<br>m_Sprite: {fileID: 21300000, guid: 340767bb6f19e994d80df6bfab11b0ba, type: 3}<\/p>\n\n\n\n<p>\u6ce8\u610f\uff1afileID\u4e0d\u662f\u6307\u6587\u4ef6ID\uff0c\u662f\u6307\u5185\u90e8\u8d44\u6e90ID\uff08SpriteID\uff09<br>guid\u624d\u662f\u771f\u6b63\u7684\u6587\u4ef6ID<\/p>\n\n\n\n<p>\u5176\u4e2d21300000\u4e3aUnity\u7684\u9ed8\u8ba4\u8d44\u4ea7\uff0c\u5728\u8fd9\u91cc\u4ee3\u8868\u4e3a\u6574\u4e2a\u56fe\u7247\uff08\u9ed8\u8ba4\uff09<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u591a\u56fe\u7684\u5f15\u7528\u65b9\u5f0f<\/h1>\n\n\n\n<p>png.meta\u4e2d\u6709\u8d44\u4ea7\u7684\u5168\u5c40guid\uff0c\u4f8b\u5982340767bb6f19e994d80df6bfab11b0ba<br>\u4ee5\u53ca\u5b50\u56fe\u5207\u5272\u4fe1\u606f<\/p>\n\n\n\n<ul>\n<li>serializedVersion: 2<br>name: v1_fuhaifanjiang_btn_gry<br>spriteID: eb7fb90c6ee167148a086af2f285a5d4<br>internalID: 194391527<br>\u5176\u4e2dspriteID\u662f\u4e0d\u7528\u7684\uff0c\u8981\u7528internalID<br>UIImage\u5f15\u7528\u6b64Sprite\u65f6\uff1a<br>m_Sprite: {fileID: 194391527, guid: 340767bb6f19e994d80df6bfab11b0ba, type: 3}<\/li>\n<\/ul>\n\n\n\n<h1 class=\"wp-block-heading\">\u5982\u4f55\u91cd\u5b9a\u5411<\/h1>\n\n\n\n<p>1\u3001\u6240\u6709\u7684\u6563\u6587\u4ef6\u7528TexturerPacker\u6253\u5305\u6210\u5408\u56fe<br>\u5e76\u4e3a\u6563\u6587\u4ef6\u751f\u6210\u4e00\u4e2a\u5168\u5c40\u7684internalID<br>2\u3001\u5220\u9664\u6563\u6587\u4ef6<br>3\u3001\u8fdb\u884cPrefab\u66ff\u6362\uff1a<br>\u5c06\u6563\u6587\u4ef6\u7684<br>{fileID: 21300000, guid: xxxx, type: 3}<br>\u66ff\u6362\u4e3a<br>{fileID: internalID, guid: yyyy, type: 3}<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u95ee\u9898\u63d0\u51fa\uff1a Unity\u7684Atlas\u4e00\u5b9a\u4e3aNPO2\uff0c\u6bd4\u8f83\u6d6a\u8d39\u7a7a\u95f4\uff0c\u53ef\u4ee5\u4f7f\u7528ASTC6x6\u7684\u975eNPO2\uff0c\u8282\u7701\u9762\u79ef  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6293"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6293"}],"version-history":[{"count":1,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6293\/revisions"}],"predecessor-version":[{"id":6294,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6293\/revisions\/6294"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}