{"id":139,"date":"2025-06-07T23:29:56","date_gmt":"2025-06-07T14:29:56","guid":{"rendered":"https:\/\/cg-method.com\/unity\/?p=139"},"modified":"2026-10-03T22:59:20","modified_gmt":"2026-10-03T13:59:20","slug":"unity-prefab-csv-export-tool","status":"publish","type":"post","link":"https:\/\/cg-method.com\/unity\/unity-prefab-csv-export-tool\/","title":{"rendered":"Unity\u306ePrefab\u5185\u90e8\u3092CSV\u51fa\u529b\u3059\u308bEditor\u62e1\u5f35\uff1a\u968e\u5c64\u30fb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u4e00\u89a7"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Prefab\u306e\u4e2d\u306b\u3042\u308bGameObject\u3068\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4e00\u89a7\u3067\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001<strong>\u9078\u629e\u30d5\u30a9\u30eb\u30c0\u30fc\u4ee5\u4e0b\u306e.prefab\u3092\u691c\u7d22\u3057\u3001\u5185\u90e8\u306e\u968e\u5c64\u30925\u5217\u306eCSV\u3078\u66f8\u304d\u51fa\u3059<\/strong>Editor\u62e1\u5f35\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002Prefab\u306e\u4fdd\u5b58\u5148\u30d5\u30a9\u30eb\u30c0\u30fc\u3060\u3051\u3092\u4e00\u89a7\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3001<a href=\"https:\/\/cg-method.com\/unity\/unity-prefab-tree-csv-export\/\">\u30d5\u30a1\u30a4\u30eb\u968e\u5c64\u306e\u30c4\u30ea\u30fc\u51fa\u529b<\/a>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u4ed5\u69d8\u306e\u53c2\u7167\u306fUnity 6.3 LTS\u3067\u3059\u3002\u672c\u6587\u306eCSV\u6574\u5f62\u90e8\u5206\u306fWindows\u306e.NET\u74b0\u5883\u3067\u78ba\u8a8d\u3057\u307e\u3057\u305f\u304c\u3001Unity Editor\u3067\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3001Prefab\u8aad\u8fbc\u3001Variant\u30fb\u5165\u308c\u5b50Prefab\u306e\u52d5\u4f5c\u306f\u672a\u78ba\u8a8d\u3067\u3059\u3002\u5143\u8a18\u4e8b\u306e\u753b\u50cf\u306f\u65e7\u7248\u306e\u8cc7\u6599\u3067\u3001\u4eca\u56de\u306e\u4fee\u6b63\u7248\u3092\u5b9f\u884c\u3057\u305f\u753b\u50cf\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/09\/unity-matome-3-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/unity\/unity-matome\/\">Unity\u306e\u4f7f\u3044\u65b9\u30ac\u30a4\u30c9\uff5c\u74b0\u5883\u69cb\u7bc9\u30fbUI\u30fb2D\u30fb\u30a2\u30bb\u30c3\u30c8\u6d3b\u7528<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Unity\u306e\u74b0\u5883\u69cb\u7bc9\u3001UI\u5236\u4f5c\u30012D\u7d20\u6750\u306e\u7d44\u307f\u8fbc\u307f\u3001\u30a2\u30bb\u30c3\u30c8\u5c0e\u5165\u3001Prefab\u7ba1\u7406\u3092\u76ee\u7684\u5225\u306b\u6848\u5185\u3002\u66f8\u7c4d\u30fb\u30aa\u30f3\u30e9\u30a4\u30f3\u6559\u6750\u306e\u9078\u3073\u65b9\u3068\u3001\u5236\u4f5c\u4e2d\u306b\u3064\u307e\u305a\u3044\u305f\u3068\u304d\u306e\u89e3\u8aac\u8a18\u4e8b\u3092\u63a2\u305b\u307e\u3059\u3002<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<h2 class=\"wp-block-heading\">CSV\u306b\u51fa\u529b\u3059\u308b5\u5217\u3068\u5bfe\u8c61\u7bc4\u56f2<\/h2>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u9805\u76ee\u30fb\u75c7\u72b6<\/th><th>\u5185\u5bb9\u30fb\u78ba\u8a8d\u5148<\/th><\/tr><\/thead><tbody><tr><td>Prefab\u540d<\/td><td>Prefab\u30d5\u30a1\u30a4\u30eb\u306e\u62e1\u5f35\u5b50\u3092\u9664\u3044\u305f\u540d\u524d\u3002\u540c\u540d\u306e\u5225Prefab\u306f\u6b21\u306ePrefab\u30d1\u30b9\u3067\u533a\u5225\u3002<\/td><\/tr><tr><td>Prefab\u30d1\u30b9<\/td><td>Assets\u304b\u3089\u59cb\u307e\u308b\u30a2\u30bb\u30c3\u30c8\u30d1\u30b9\u3002\u9078\u629e\u30d5\u30a9\u30eb\u30c0\u30fc\u3068\u5b50\u30d5\u30a9\u30eb\u30c0\u30fc\u306e.prefab\u304c\u5bfe\u8c61\u3002<\/td><\/tr><tr><td>\u968e\u5c64(\u5144\u5f1f\u756a\u53f7\u4ed8\u304d)<\/td><td>\u5404GameObject\u306e\u540d\u524d\u3068\u5144\u5f1f\u756a\u53f7\u3002\u4f8b\uff1aHero[0]\/Body[0]\u3002\u540d\u524d\u306e\/\u3001%\u3001[\u3001]\u306f%\u8868\u8a18\u306b\u3057\u3066\u533a\u5207\u308a\u3068\u533a\u5225\u3002<\/td><\/tr><tr><td>GameObject\u540d<\/td><td>GameObject\u306e\u5143\u306e\u540d\u524d\u3002\u968e\u5c64\u5217\u3067\u4f7f\u3063\u305f%\u8868\u8a18\u3078\u7f6e\u63db\u3057\u306a\u3044\u3002<\/td><\/tr><tr><td>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/td><td>\u5404GameObject\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u578b\u3092\u540d\u524d\u7a7a\u9593\u4ed8\u304d\u3067\u5217\u6319\u3002null\u306f[Missing Script]\u3068\u3057\u3066\u6b8b\u3059\u3002\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u8a2d\u5b9a\u5024\u306f\u53d6\u5f97\u3057\u306a\u3044\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u9078\u629e\u3067\u304d\u308b\u5bfe\u8c61\u306fAssets\u5185\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u3067\u3059\u3002\u8907\u6570\u30d5\u30a9\u30eb\u30c0\u30fc\u3084\u89aa\u5b50\u3092\u540c\u6642\u306b\u9078\u3093\u3060\u5834\u5408\u306f\u3001\u898b\u3064\u304b\u3063\u305f\u30a2\u30bb\u30c3\u30c8\u30d1\u30b9\u3092\u91cd\u8907\u9664\u5916\u3057\u307e\u3059\u3002Scene\u5185\u306e\u914d\u7f6e\u3001Packages\u5185\u306e\u30a2\u30bb\u30c3\u30c8\u3001FBX\u306a\u3069\u306eModel Prefab\u306f\u3001\u3053\u306e.prefab\u9650\u5b9a\u306e\u4f8b\u306e\u5bfe\u8c61\u306b\u542b\u3081\u307e\u305b\u3093\u3002\u975eActive\u306e\u5b50\u3082Transform\u3092\u305f\u3069\u308b\u69cb\u6210\u3067\u3059\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u6b21\u306e\u753b\u50cf\u306f\u5143\u8a18\u4e8b\u306e\u51fa\u529b\u8cc7\u6599\u3067\u3059\u3002\u4fee\u6b63\u7248\u3067\u306f\u5144\u5f1f\u756a\u53f7\u3001\u540d\u524d\u7a7a\u9593\u4ed8\u304d\u306e\u578b\u3001Missing Script\u306e\u8a18\u9332\u306a\u3069\u3092\u52a0\u3048\u3066\u3044\u308b\u305f\u3081\u3001\u5217\u306e\u5185\u5bb9\u304c\u540c\u3058\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"412\" height=\"146\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/2025-06-07_23h24_17.png\" alt=\"\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u306ePrefab\u304b\u3089\u968e\u5c64\u60c5\u5831\u3092\u62bd\u51fa\u3057\u3066CSV\u3078\u66f8\u304d\u51fa\u3059\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u30c4\u30fc\u30eb\u306e\u6982\u8981\u3092\u793a\u3059\u753b\u9762\u3002\" class=\"wp-image-141\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/2025-06-07_23h24_17.png 412w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/2025-06-07_23h24_17-300x106.png 300w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/figure>\n\n\n<h2 class=\"wp-block-heading\">\u5c0e\u5165\uff1aEditor\u30d5\u30a9\u30eb\u30c0\u30fc\u3078C#\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308b<\/h2>\n\n\n<ol class=\"wp-block-list\"><li>\u6700\u521d\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8907\u88fd\u3067\u8a66\u3057\u307e\u3059\u3002Assets\/Editor\u3092\u4f5c\u308a\u3001\u4e0b\u306e\u30b3\u30fc\u30c9\u5168\u4f53\u3092PrefabHierarchyExporter.cs\u3068\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002GameObject\u3078\u4ed8\u3051\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u306f\u306a\u304f\u3001Editor\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u547c\u3076\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/li><li>\u65e7ExportAllPrefabsWithPath\u306e\u30b3\u30fc\u30c9\u3092\u7f6e\u304d\u63db\u3048\u308b\u5834\u5408\u306f\u3001\u540c\u3058\u30e1\u30cb\u30e5\u30fc\u3092\u6301\u3064\u65e7\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4e26\u884c\u3057\u3066\u6b8b\u3055\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u91cd\u8907\u3057\u305f\u30af\u30e9\u30b9\u3084\u30e1\u30cb\u30e5\u30fc\u304c\u306a\u3044\u304bConsole\u3067\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><li>asmdef\u3092\u4f7f\u3046\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306fEditor\u5c02\u7528\u306eAssembly\u3078\u7f6e\u304d\u307e\u3059\u3002UnityEditor\u3092Player\u7528Assembly\u3078\u5165\u308c\u306a\u3044\u69cb\u6210\u306b\u3057\u307e\u3059\u3002<\/li><li>Unity\u3078\u623b\u308a\u3001Console\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002Tools \u2192 Export Prefabs (with Path)\u304c\u51fa\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u3001\u5bfe\u8c61\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u9078\u3073\u307e\u3059\u3002<\/li><\/ol>\n\n\n<p class=\"wp-block-paragraph\">Editor\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5f79\u5272\u306f<a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/Manual\/SpecialFolders.html\">Unity\u516c\u5f0f\u306e\u4e88\u7d04\u30d5\u30a9\u30eb\u30c0\u30fc\u540d<\/a>\u3092\u53c2\u7167\u3057\u307e\u3059\u3002\u65e7\u914d\u5e03\u5148\u306e01.php\u306f\u4e2d\u8eab\u304cC#\u3067\u3001PHP\u3068\u3057\u3066\u5c0e\u5165\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4fee\u6b63\u7248\u306f\u3053\u3053\u306b\u63b2\u8f09\u3057\u305f\u5185\u5bb9\u3092.cs\u3067\u4fdd\u5b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u6700\u5c0f\u306ePrefab\u3067\u51fa\u529b\u3092\u78ba\u8a8d\u3059\u308b<\/h2>\n\n\n<ol class=\"wp-block-list\"><li>Assets\u5185\u306b\u78ba\u8a8d\u7528\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u4f5c\u308a\u3001\u30eb\u30fc\u30c8\u3068\u5b50\u3092\u6301\u3064\u5c0f\u3055\u306aPrefab\u30921\u3064\u4fdd\u5b58\u3057\u307e\u3059\u3002\u6700\u521d\u306f\u65e5\u672c\u8a9e\u3084\u30ab\u30f3\u30de\u306a\u3069\u3092\u542b\u307e\u306a\u3044\u540d\u524d\u3067\u5217\u3068\u5bfe\u8c61\u6570\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><li>Project\u3067\u305d\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u9078\u629e\u3057\u307e\u3059\u3002Hierarchy\u306eGameObject\u3084.prefab\u30d5\u30a1\u30a4\u30eb\u81ea\u4f53\u3092\u9078\u3076\u64cd\u4f5c\u3068\u306f\u533a\u5225\u3057\u307e\u3059\u3002<\/li><li>Tools \u2192 Export Prefabs (with Path)\u3092\u5b9f\u884c\u3057\u3001\u4fdd\u5b58\u30c0\u30a4\u30a2\u30ed\u30b0\u3067CSV\u306e\u4fdd\u5b58\u5148\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\u3068\u4fdd\u5b58\u305b\u305a\u7d42\u4e86\u3057\u307e\u3059\u3002\u65e2\u5b58\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u4fdd\u5b58\u3067\u306f\u4e0a\u66f8\u304d\u306e\u9078\u629e\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li><li>Console\u306e\u6210\u529f\u30fb\u5931\u6557\u4ef6\u6570\u3068CSV\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30eb\u30fc\u30c8\u3068\u5b50\u305d\u308c\u305e\u308c\u306b1\u884c\u305a\u3064\u3042\u308a\u3001\u30d8\u30c3\u30c0\u30fc\u3092\u9664\u3044\u305fGameObject\u884c\u6570\u304c\u30ed\u30b0\u3068\u4e00\u81f4\u3059\u308b\u304b\u8abf\u3079\u307e\u3059\u3002<\/li><li>\u305d\u306e\u5f8c\u306b\u8907\u6570Prefab\u3001\u540c\u540d\u306e\u5144\u5f1f\u3001\u65e5\u672c\u8a9e\u3001\u30ab\u30f3\u30de\u3001\u5f15\u7528\u7b26\u3001Missing Script\u3001\u975eActive\u306e\u5b50\u3001Variant\u30fb\u5165\u308c\u5b50Prefab\u306a\u3069\u3092\u52a0\u3048\u3066\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><\/ol>\n\n\n<p class=\"wp-block-paragraph\">\u5143\u8a18\u4e8b\u306eUnity\u753b\u9762\u3082\u65e7\u8cc7\u6599\u3067\u3059\u3002\u4fee\u6b63\u7248\u306f\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304f\u65b9\u5f0f\u3067\u306f\u306a\u304f\u3001\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u9078\u3093\u3067\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u4fdd\u5b58\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-large is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"561\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/2025-06-07_23h23_27-1024x561.png\" alt=\"Prefab\u60c5\u5831\u66f8\u304d\u51fa\u3057\u30c4\u30fc\u30eb\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3084\u30b9\u30af\u30ea\u30d7\u30c8\u3092Unity\u306b\u53d6\u308a\u8fbc\u3093\u3060\u76f4\u5f8c\u306e\u72b6\u614b\u3092\u793a\u3059\u753b\u9762\u3002\" class=\"wp-image-140\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/2025-06-07_23h23_27-1024x561.png 1024w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/2025-06-07_23h23_27-300x164.png 300w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/2025-06-07_23h23_27-768x421.png 768w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/2025-06-07_23h23_27.png 1335w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<h2 class=\"wp-block-heading\">\u4fee\u6b63\u7248\u30b3\u30fc\u30c9\u5168\u6587<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u5404Prefab\u306e\u884c\u306f\u4e00\u6642\u7684\u306b\u307e\u3068\u3081\u3001\u8aad\u53d6\u3068\u89e3\u653e\u304c\u6210\u529f\u3057\u305f\u3082\u306e\u3060\u3051CSV\u3078\u8ffd\u52a0\u3057\u307e\u3059\u3002\u8aad\u8fbc\u3084\u8d70\u67fb\u306e\u9014\u4e2d\u3067\u5931\u6557\u3057\u305fPrefab\u306e\u90e8\u5206\u7684\u306a\u884c\u3092\u3001\u6210\u529f\u7d50\u679c\u306b\u6df7\u305c\u306a\u3044\u69cb\u6210\u3067\u3059\u3002\u6df1\u3055256\u3092\u8d85\u3048\u308b\u968e\u5c64\u306f\u30a8\u30e9\u30fc\u3068\u3057\u3066\u8a18\u9332\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\"><code>using UnityEngine;\nusing UnityEditor;\nusing System;\nusing System.IO;\nusing System.Text;\nusing System.Collections.Generic;\n\npublic static class PrefabHierarchyExporter\n{\n    [MenuItem(\"Tools\/Export Prefabs (with Path)\")]\n    public static void ExportPrefabs()\n    {\n        UnityEngine.Object[] selected = Selection.objects;\n        if (selected.Length == 0)\n        {\n            Debug.LogWarning(\"Project\u3067Assets\u5185\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002\");\n            return;\n        }\n        var folders = new HashSet&lt;string&gt;(StringComparer.Ordinal);\n        foreach (UnityEngine.Object item in selected)\n        {\n            string path = AssetDatabase.GetAssetPath(item);\n            if (!AssetDatabase.IsValidFolder(path) || !(path == \"Assets\" || path.StartsWith(\"Assets\/\", StringComparison.Ordinal)))\n            {\n                Debug.LogWarning(\"\u9078\u629e\u5bfe\u8c61\u306fAssets\u5185\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u3060\u3051\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\");\n                return;\n            }\n            folders.Add(path);\n        }\n        var uniquePaths = new SortedSet&lt;string&gt;(StringComparer.Ordinal);\n        foreach (string folder in folders)\n        {\n            foreach (string guid in AssetDatabase.FindAssets(\"t:Prefab\", new[] { folder }))\n            {\n                string path = AssetDatabase.GUIDToAssetPath(guid);\n                if (path.EndsWith(\".prefab\", StringComparison.OrdinalIgnoreCase)) uniquePaths.Add(path);\n            }\n        }\n        if (uniquePaths.Count == 0)\n        {\n            Debug.LogWarning(\"\u9078\u629e\u30d5\u30a9\u30eb\u30c0\u30fc\u4ee5\u4e0b\u306b.prefab\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\");\n            return;\n        }\n        string savePath = EditorUtility.SaveFilePanel(\"CSV\u3068\u3057\u3066\u4fdd\u5b58\", \"\", \"prefab_structure_\" + DateTime.Now.ToString(\"yyyyMMdd_HHmmss\"), \"csv\");\n        if (string.IsNullOrEmpty(savePath)) return;\n\n        var csv = new StringBuilder();\n        csv.Append(PrefabHierarchyCsvFormatting.Row(\"Prefab\u540d\", \"Prefab\u30d1\u30b9\", \"\u968e\u5c64(\u5144\u5f1f\u756a\u53f7\u4ed8\u304d)\", \"GameObject\u540d\", \"\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\"));\n        int success = 0;\n        int failed = 0;\n        int rowCount = 0;\n        foreach (string path in uniquePaths)\n        {\n            GameObject root = null;\n            var perPrefab = new StringBuilder();\n            int perPrefabRows = 0;\n            bool loaded = false;\n            try\n            {\n                root = PrefabUtility.LoadPrefabContents(path);\n                if (root == null) throw new InvalidOperationException(\"Prefab\u306e\u30eb\u30fc\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\");\n                Traverse(root.transform, Path.GetFileNameWithoutExtension(path), path,\n                    PrefabHierarchyCsvFormatting.Segment(root.name, 0), perPrefab, 0, ref perPrefabRows);\n                loaded = true;\n            }\n            catch (Exception e)\n            {\n                Debug.LogError(\"Prefab\u306e\u8aad\u53d6\u5931\u6557: \" + path + \"\\n\" + e);\n            }\n            finally\n            {\n                if (root != null)\n                {\n                    try { PrefabUtility.UnloadPrefabContents(root); }\n                    catch (Exception e)\n                    {\n                        loaded = false;\n                        Debug.LogError(\"Prefab\u306e\u89e3\u653e\u5931\u6557: \" + path + \"\\n\" + e);\n                    }\n                }\n            }\n            if (loaded)\n            {\n                csv.Append(perPrefab);\n                rowCount += perPrefabRows;\n                success++;\n            }\n            else failed++;\n        }\n        if (success == 0)\n        {\n            Debug.LogWarning(\"\u5168Prefab\u306e\u8aad\u53d6\u306b\u5931\u6557\u3057\u305f\u305f\u3081\u3001CSV\u306f\u4fdd\u5b58\u3057\u3066\u3044\u307e\u305b\u3093\u3002\");\n            return;\n        }\n        try\n        {\n            File.WriteAllText(savePath, csv.ToString(), new UTF8Encoding(true));\n            Debug.Log(\"CSV\u4fdd\u5b58\u5b8c\u4e86: \u5019\u88dc \" + uniquePaths.Count + \" \/ \u6210\u529f \" + success + \" \/ \u5931\u6557 \" + failed\n                + \" \/ GameObject\u884c \" + rowCount + \"\\n\" + savePath);\n        }\n        catch (Exception e) { Debug.LogError(\"CSV\u4fdd\u5b58\u5931\u6557: \" + savePath + \"\\n\" + e); }\n    }\n\n    private static void Traverse(Transform node, string prefabName, string assetPath, string hierarchy,\n        StringBuilder csv, int depth, ref int rowCount)\n    {\n        if (depth &gt; 256) throw new InvalidOperationException(\"\u968e\u5c64\u304c\u6df1\u3055256\u3092\u8d85\u3048\u307e\u3057\u305f\u3002\");\n        var components = new List&lt;string&gt;();\n        foreach (Component component in node.GetComponents&lt;Component&gt;())\n            components.Add(component == null ? \"[Missing Script]\" : component.GetType().FullName);\n        csv.Append(PrefabHierarchyCsvFormatting.Row(prefabName, assetPath, hierarchy, node.name, string.Join(\", \", components)));\n        rowCount++;\n        foreach (Transform child in node)\n            Traverse(child, prefabName, assetPath, hierarchy + \"\/\" + PrefabHierarchyCsvFormatting.Segment(child.name, child.GetSiblingIndex()),\n                csv, depth + 1, ref rowCount);\n    }\n}\n\npublic static class PrefabHierarchyCsvFormatting\n{\n    public static string Csv(string value)\n    {\n        return \"\\\"\" + (value ?? \"\").Replace(\"\\\"\", \"\\\"\\\"\") + \"\\\"\";\n    }\n    public static string Row(params string[] values)\n    {\n        var fields = new string[values.Length];\n        for (int i = 0; i &lt; values.Length; i++) fields[i] = Csv(values[i]);\n        return string.Join(\",\", fields) + \"\\r\\n\";\n    }\n    public static string Segment(string name, int siblingIndex)\n    {\n        return (name ?? \"\").Replace(\"%\", \"%25\").Replace(\"\/\", \"%2F\").Replace(\"[\", \"%5B\").Replace(\"]\", \"%5D\")\n            + \"[\" + siblingIndex + \"]\";\n    }\n}\n<\/code><\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u8aad\u8fbc\u30fb\u89e3\u653e\u30fb\u5931\u6557\u4ef6\u6570\u306e\u6271\u3044<\/h2>\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/ScriptReference\/PrefabUtility.LoadPrefabContents.html\">LoadPrefabContents<\/a>\u306fPrefab\u3092\u9694\u96e2\u3057\u305fScene\u3078\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002\u3053\u306e\u4f8b\u306fPrefab\u3092\u4fdd\u5b58\u3059\u308bAPI\u3092\u547c\u3070\u305a\u3001<a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/ScriptReference\/PrefabUtility.UnloadPrefabContents.html\">UnloadPrefabContents<\/a>\u3092finally\u3067\u547c\u3093\u3067\u89e3\u653e\u3092\u8a66\u307f\u307e\u3059\u3002\u89e3\u653e\u306b\u5931\u6557\u3057\u305f\u5834\u5408\u3082\u5bfe\u8c61\u30d1\u30b9\u3068\u4f8b\u5916\u3092Console\u3078\u8a18\u9332\u3057\u307e\u3059\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u5019\u88dc\u4ef6\u6570\u3001\u6210\u529f\u4ef6\u6570\u3001\u5931\u6557\u4ef6\u6570\u3001GameObject\u884c\u6570\u306f\u5225\u306e\u6570\u3067\u3059\u3002\u5931\u6557\u304c\u3042\u308c\u3070CSV\u306f\u6210\u529f\u3057\u305fPrefab\u3060\u3051\u306e\u7d50\u679c\u306b\u306a\u308a\u307e\u3059\u3002\u5168\u4ef6\u5931\u6557\u306a\u3089CSV\u3092\u4fdd\u5b58\u3057\u307e\u305b\u3093\u3002\u4fdd\u5b58\u51e6\u7406\u305d\u306e\u3082\u306e\u304c\u5931\u6557\u3057\u305f\u5834\u5408\u3082\u3001Console\u306e\u4f8b\u5916\u3068\u4fdd\u5b58\u5148\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">Prefab\u5185\u306e\u72ec\u81ea\u30b9\u30af\u30ea\u30d7\u30c8\u3084Editor\u51e6\u7406\u3092\u542b\u3080\u5b9f\u74b0\u5883\u306e\u52d5\u4f5c\u307e\u3067\u78ba\u8a8d\u3057\u305f\u4f8b\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u6700\u521d\u306e\u8907\u88fd\u3067\u3001\u51e6\u7406\u5f8c\u306eScene\u30fbPrefab\u30fbConsole\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u81ea\u52d5\u4fdd\u5b58\u3092\u884c\u3046EditPrefabContentsScope\u3078\u7f6e\u304d\u63db\u3048\u308b\u3068\u51e6\u7406\u306e\u6027\u8cea\u304c\u5909\u308f\u308b\u305f\u3081\u3001\u3053\u306e\u8aad\u53d6\u4f8b\u3067\u306f\u4f7f\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u30ab\u30f3\u30de\u30fb\u5f15\u7528\u7b26\u30fb\u6539\u884c\u3068CSV\u306e\u8aad\u307f\u8fbc\u307f<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u5168\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4e8c\u91cd\u5f15\u7528\u7b26\u3067\u56f2\u307f\u3001\u4e2d\u306e\u4e8c\u91cd\u5f15\u7528\u7b26\u306f2\u3064\u3078\u91cd\u306d\u308b\u51e6\u7406\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u540d\u524d\u306b\u30ab\u30f3\u30de\u3084\u6539\u884c\u304c\u3042\u3063\u3066\u3082\u4e00\u3064\u306eCSV\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u3057\u3066\u6271\u3048\u307e\u3059\u3002\u8a18\u6cd5\u306f<a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc4180\">RFC 4180\u306eCSV\u5f62\u5f0f<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u306fUTF-8\u306eBOM\u4ed8\u304d\u3067\u4fdd\u5b58\u3059\u308b\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u78ba\u8a8d\u3057\u305f\u7bc4\u56f2\u306f\u3001\u63b2\u8f09\u30b3\u30fc\u30c9\u304b\u3089\u53d6\u308a\u51fa\u3057\u305f\u6574\u5f62\u30af\u30e9\u30b9\u3092.NET\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3001\u7a7a\u6587\u5b57\u3001\u65e5\u672c\u8a9e\u3001\u30ab\u30f3\u30de\u3001\u5f15\u7528\u7b26\u3001\u6539\u884c\u306a\u306910\u7a2e\u985e\u306e\u69cb\u6210\u3057\u305f\u540d\u524d\u3092CSV\u3078\u5909\u63db\u3057\u3001Python\u306eCSV\u8aad\u53d6\u3067\u5143\u306e5\u5217\u306b\u623b\u308b\u3053\u3068\u3067\u3059\u3002Prefab\u306e\u62bd\u51fa\u3084Excel\u4e0a\u306e\u64cd\u4f5c\u3092\u5b9f\u884c\u3057\u305f\u7d50\u679c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u8868\u8a08\u7b97\u30bd\u30d5\u30c8\u3067\u306fCSV\u306e\u53d6\u8fbc\u6a5f\u80fd\u3092\u4f7f\u3044\u3001\u5fc5\u8981\u306a\u5217\u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u6307\u5b9a\u3057\u307e\u3059\u3002\u4e8c\u91cd\u5f15\u7528\u7b26\u3067\u56f2\u3080\u3053\u3068\u3060\u3051\u3067\u306f\u3001\u6570\u5b57\u30fb\u65e5\u4ed8\u3078\u306e\u5909\u63db\u3084\u5148\u982d\u306e=\u306a\u3069\u3092\u5f0f\u3068\u89e3\u91c8\u3059\u308b\u51e6\u7406\u306f\u9632\u3052\u307e\u305b\u3093\u3002\u8868\u793a\u304c\u5909\u308f\u3063\u305f\u3068\u304d\u306f\u4fdd\u5b58\u5185\u5bb9\u3068\u53d6\u8fbc\u6761\u4ef6\u3092\u5206\u3051\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u30e1\u30cb\u30e5\u30fc\u3084\u51fa\u529b\u304c\u671f\u5f85\u3069\u304a\u308a\u306b\u306a\u3089\u306a\u3044\u5834\u5408<\/h2>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u9805\u76ee\u30fb\u75c7\u72b6<\/th><th>\u5185\u5bb9\u30fb\u78ba\u8a8d\u5148<\/th><\/tr><\/thead><tbody><tr><td>\u30e1\u30cb\u30e5\u30fc\u304c\u898b\u3064\u304b\u3089\u306a\u3044<\/td><td>Console\u306e\u30a8\u30e9\u30fc\u3001.cs\u62e1\u5f35\u5b50\u3001Editor\u30d5\u30a9\u30eb\u30c0\u30fc\u307e\u305f\u306fEditor\u5c02\u7528asmdef\u3001\u65e7\u30b3\u30fc\u30c9\u3068\u306e\u91cd\u8907\u3092\u78ba\u8a8d\u3002<\/td><\/tr><tr><td>\u30d5\u30a9\u30eb\u30c0\u30fc\u9078\u629e\u306e\u8b66\u544a<\/td><td>Project\u3067Assets\u5185\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u3060\u3051\u3092\u9078\u629e\u3002Scene\u3084\u30d5\u30a1\u30a4\u30eb\u3001Packages\u3092\u6df7\u305c\u306a\u3044\u3002<\/td><\/tr><tr><td>Prefab\u304c\u898b\u3064\u304b\u3089\u306a\u3044<\/td><td>\u691c\u7d22\u7bc4\u56f2\u3068.prefab\u62e1\u5f35\u5b50\u3092\u78ba\u8a8d\u3002<a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/ScriptReference\/AssetDatabase.FindAssets.html\">FindAssets\u306e\u4ed5\u69d8<\/a>\u3067\u306f\u6307\u5b9a\u30d5\u30a9\u30eb\u30c0\u30fc\u3068\u5b50\u3092\u691c\u7d22\u3059\u308b\u3002<\/td><\/tr><tr><td>\u4e00\u90e8\u306ePrefab\u304c\u51fa\u529b\u3055\u308c\u306a\u3044<\/td><td>Console\u306e\u5931\u6557\u30d1\u30b9\u3001\u8aad\u8fbc\u30fb\u968e\u5c64\u30fb\u89e3\u653e\u306e\u4f8b\u5916\u3092\u78ba\u8a8d\u3002\u5019\u88dc\u6570\u3060\u3051\u3067\u5168\u4ef6\u6210\u529f\u3068\u5224\u65ad\u3057\u306a\u3044\u3002<\/td><\/tr><tr><td>\u540c\u3058\u540d\u524d\u306e\u884c\u3092\u533a\u5225\u3067\u304d\u306a\u3044<\/td><td>Prefab\u30d1\u30b9\u3068\u5144\u5f1f\u756a\u53f7\u4ed8\u304d\u968e\u5c64\u3092\u4f7f\u3046\u3002\u5144\u5f1f\u306e\u9806\u5e8f\u304c\u5909\u308f\u308c\u3070\u756a\u53f7\u3082\u5909\u308f\u308b\u305f\u3081\u3001\u6c38\u7d9aID\u3068\u306f\u6271\u308f\u306a\u3044\u3002<\/td><\/tr><tr><td>\u6587\u5b57\u5316\u3051\u30fb\u5217\u305a\u308c<\/td><td>UTF-8\u3068CSV\u306e\u53d6\u8fbc\u6761\u4ef6\u3001\u5f15\u7528\u7b26\u3092\u4fdd\u6301\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3002\u5358\u7d14\u306a\u30ab\u30f3\u30deSplit\u3067\u8aad\u307f\u8fbc\u307e\u306a\u3044\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u578b\u306f\u4e00\u89a7\u306b\u3057\u307e\u3059\u304c\u3001\u8a2d\u5b9a\u4e0d\u5099\u3092\u81ea\u52d5\u3067\u5224\u5b9a\u3059\u308b\u6a5f\u80fd\u306f\u542b\u3081\u3066\u3044\u307e\u305b\u3093\u3002\u30d7\u30ed\u30d1\u30c6\u30a3\u691c\u67fb\u3078\u5e83\u3052\u308b\u5834\u5408\u306f\u3001\u5fc5\u8981\u306a\u9805\u76ee\u3068\u5224\u5b9a\u6761\u4ef6\u3092\u8ffd\u52a0\u3059\u308b\u5225\u306e\u5b9f\u88c5\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u65e2\u5b58\u306e<a href=\"https:\/\/github.com\/MOTOKI-LLC\/cg-method-code\/tree\/main\/unity\/unity-prefab-csv-export-tool\">\u5143\u30b3\u30fc\u30c9\u306e\u914d\u5e03\u5148<\/a>\u306b\u306f\u539f\u7248\u306e01.php\u304c\u3042\u308a\u3001\u672c\u6587\u306e\u4fee\u6b63\u7248\u3068\u306f\u7570\u306a\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u66f4\u65b0\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb\u914d\u7f6e\u306e\u30c4\u30ea\u30fc\u3084\u64ae\u5f71\u306a\u3069\u95a2\u9023\u3059\u308bEditor\u62e1\u5f35\u306f\u6b21\u306e\u8a18\u4e8b\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n<!-- cgm-topic:start -->\n\n\n<p class=\"wp-block-paragraph\">Unity\u306e\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u306b\u95a2\u3059\u308b\u4ed6\u306e\u89e3\u8aac\u8a18\u4e8b\u3082\u3042\u308f\u305b\u3066\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/unity-prefab-batch-screenshot-tool-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/unity\/unity-prefab-batch-screenshot-tool\/\">Unity\u30672D Prefab\u3092\u4e00\u62ecPNG\u51fa\u529b\u3059\u308b\uff5cSpriteRenderer\u7528Editor\u62e1\u5f35<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Assets\u5185\u306e2D Prefab\u3092SpriteRenderer\u306e\u7bc4\u56f2\u3067\u4e00\u62ecPNG\u51fa\u529b\u3059\u308bEditor\u62e1\u5f35\u3002Preview Scene\u3001\u540c\u540d\u5bfe\u7b56\u3001512px\u306e\u30d5\u30ec\u30fc\u30e0\u3001\u5931\u6557\u6642\u306e\u78ba\u8a8d\u3068\u672a\u691c\u8a3c\u6761\u4ef6\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/unity-prefab-tree-csv-export-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/unity\/unity-prefab-tree-csv-export\/\">Unity\u306ePrefab\u30d5\u30a1\u30a4\u30eb\u3092\u30c4\u30ea\u30fcCSV\u51fa\u529b\u3059\u308bEditor\u62e1\u5f35\uff1a\u30d5\u30a9\u30eb\u30c0\u30fc\u968e\u5c64<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Assets\u5185\u306e\u9078\u629e\u30d5\u30a9\u30eb\u30c0\u30fc\u4ee5\u4e0b\u306b\u3042\u308bPrefab\u30d5\u30a1\u30a4\u30eb\u30921\u5217\u306e\u30c4\u30ea\u30fcCSV\u3078\u51fa\u529b\u3002AssetDatabase\u3067\u306e\u691c\u7d22\u3001\u5c0e\u5165\u3001\u4fdd\u5b58\u3001\u7a7a\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u6271\u3044\u3001CSV\u5f15\u7528\u3068\u78ba\u8a8d\u624b\u9806\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/unity-ugui-prefab-screenshot-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/unity\/unity-ugui-prefab-screenshot\/\">Unity\u3067uGUI Prefab\u3092\u4e00\u62ecPNG\u51fa\u529b\u3059\u308b\uff5cImage\u306e\u7bc4\u56f2\u3068Canvas\u8a2d\u5b9a<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">uGUI\u306eImage\u3060\u3051\u3067\u69cb\u6210\u3057\u305fPrefab\u3092PNG\u3078\u51fa\u529b\u3059\u308bEditor\u62e1\u5f35\u3002Canvas\u306e\u89aa\u5bf8\u6cd5\u3001RectTransform\u306e\u7bc4\u56f2\u3001\u7e26\u6a2a\u6bd4\u30682048px\u4e0a\u9650\u3001\u5931\u6557\u6642\u306e\u78ba\u8a8d\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2025\/06\/prefab-structure-viewer-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/unity\/prefab-structure-viewer\/\">Unity\u306ePrefab\u53c2\u7167\u95a2\u4fc2\u3092\u53ef\u8996\u5316\uff5cNested\u30fbVariant\u3068GUID\u306eCSV\u51fa\u529b<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Unity\u306ePrefab\u3092GUID\u3067\u8b58\u5225\u3057\u3001\u5168\u968e\u5c64\u306eNested\u3068\u76f4\u8fd1\u306eVariant\u6d3e\u751f\u5143\u3092CSV\u3078\u51fa\u529b\u3059\u308b\u4f8b\u3002Google Apps Script\u3067\u306e\u30b0\u30e9\u30d5\u8868\u793a\u3001\u65b9\u5411\u30fb\u540c\u540d\u30fb\u5931\u6557\u6642\u306e\u78ba\u8a8d\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<!-- cgm-topic:end -->\n","protected":false},"excerpt":{"rendered":"<p>\u9078\u629e\u30d5\u30a9\u30eb\u30c0\u30fc\u4ee5\u4e0b\u306ePrefab\u304b\u3089GameObject\u968e\u5c64\u3068\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30925\u5217CSV\u3078\u51fa\u529b\u3002Editor\u3078\u306e\u5c0e\u5165\u3001CSV\u5f15\u7528\u3001\u540c\u540d\u306e\u8b58\u5225\u3001\u8aad\u8fbc\u5f8c\u306e\u89e3\u653e\u3001\u6210\u529f\u30fb\u5931\u6557\u306e\u78ba\u8a8d\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":142,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","book_review_data":"","footnotes":"","ssp_meta_title":"Unity\u306ePrefab\u5185\u90e8\u3092CSV\u51fa\u529b\u3059\u308bEditor\u62e1\u5f35\uff1a\u968e\u5c64\u30fb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u4e00\u89a7","ssp_meta_description":"\u9078\u629e\u30d5\u30a9\u30eb\u30c0\u30fc\u4ee5\u4e0b\u306ePrefab\u304b\u3089GameObject\u968e\u5c64\u3068\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30925\u5217CSV\u3078\u51fa\u529b\u3002Editor\u3078\u306e\u5c0e\u5165\u3001CSV\u5f15\u7528\u3001\u540c\u540d\u306e\u8b58\u5225\u3001\u8aad\u8fbc\u5f8c\u306e\u89e3\u653e\u3001\u6210\u529f\u30fb\u5931\u6557\u306e\u78ba\u8a8d\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002"},"categories":[24],"tags":[],"class_list":["post-139","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-editor"],"_links":{"self":[{"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts\/139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/comments?post=139"}],"version-history":[{"count":9,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"predecessor-version":[{"id":22268,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts\/139\/revisions\/22268"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/media\/142"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/tags?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}