{"id":17355,"date":"2018-08-30T00:28:36","date_gmt":"2018-08-29T15:28:36","guid":{"rendered":"https:\/\/cg-method.com\/?p=17355"},"modified":"2026-01-04T20:42:36","modified_gmt":"2026-01-04T11:42:36","slug":"unity-editor-extensions","status":"publish","type":"post","link":"https:\/\/cg-method.com\/unity\/unity-editor-extensions\/","title":{"rendered":"Unity\u2502\u77e5\u3063\u3066\u304a\u304f\u3068\u4fbf\u5229\uff01\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u307e\u3068\u3081 9\u9078"},"content":{"rendered":"\n<p>\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u3092\u4f7f\u3046\u3068\u3001Unity\u306e\u6a19\u6e96\u3067\u642d\u8f09\u3055\u308c\u3066\u3044\u306a\u3044\u6a5f\u80fd\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u3066\u4fbf\u5229\u3060\u3063\u305f\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5148\u982d\u3084\u6700\u5f8c\u5c3e\u306b\u6587\u5b57\u3092\u8ffd\u52a0\u3059\u308b\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35<\/h2>\n\n\n\n<p>\u9078\u629e\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u540d\u524d\u306e\u5148\u982d\u3084\u6700\u5f8c\u5c3e\u306b\u6587\u5b57\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"627\" height=\"310\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/04\/rename.gif\" alt=\"\u30ea\u30cd\u30fc\u30e0\u306e\u52d5\u4f5c\" class=\"wp-image-1261\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f7f\u3044\u65b9<\/h3>\n\n\n\n<ol class=\"wp-block-list is-style-num_circle\">\n<li>\u30ea\u30cd\u30fc\u30e0\u3057\u305f\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e<\/li>\n\n\n\n<li>\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u304b\u3089\u30c4\u30fc\u30eb\u3092\u8d77\u52d5<\/li>\n\n\n\n<li>\u5b9f\u884c\u3059\u308b\u3068\u968e\u5c64\u4e0b\u3059\u3079\u3066\u30ea\u30cd\u30fc\u30e0\u3055\u308c\u308b<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u524a\u9664\u3059\u308b\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35<\/h2>\n\n\n\n<p>\u6d88\u3057\u305f\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u304cAdd Component\u3055\u308c\u3066\u3044\u305f\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002\u8907\u6570\u9078\u629e\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\"><code>using UnityEngine;\nusing UnityEditor;\n\npublic class RemoveComponent : Editor\n{\n    [MenuItem(&quot;Tools\/Remove NewBehaviourScript&quot;)]\n    static void Remove()\n    {\n        foreach (GameObject obj in Selection.gameObjects)\n        {\n            var component = obj.GetComponent&lt;NewBehaviourScript&gt;();\n            if (component != null)\n            {\n                DestroyImmediate(component);\n            }\n        }\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p>Outline\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u6d88\u3057\u305f\u3044\u5834\u5408\u306f<code>using UnityEngine.UI;<\/code>\u3092\u8ffd\u52a0\u3057\u3066\u3001<code>obj.GetComponent&lt;Outline&gt;()<\/code>\u3068\u3059\u308b\u3068\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u203b\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u3067\u306fDestroy\u3067\u306f\u306a\u304f\u3001\u3059\u3050\u524a\u9664\u3067\u304d\u308bDestroyImmediate\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6587\u5b57\u5217\u306e\u6700\u5f8c\u306b\u9023\u756a\u3092\u8ffd\u52a0\u3059\u308b\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35<\/h2>\n\n\n\n<p>\u968e\u5c64\u5185\u306e\u6570\u3092\u898b\u3066\u3001\u6587\u5b57\u5217\u306e\u6700\u5f8c\u306b\u9023\u756a\u3092\u3064\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"278\" height=\"241\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/05\/add_number.gif\" alt=\"\u9023\u756a\u8ffd\u52a0\u306e\u52d5\u4f5c\" class=\"wp-image-1373\"\/><\/figure>\n\n\n\n<p>\u30dd\u30a4\u30f3\u30c8\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>string number = \"0\";<\/code>\u306b\u3059\u308c\u30700\u304b\u3089\u59cb\u307e\u308b<\/li>\n\n\n\n<li><code>.transform.GetSiblingIndex<\/code>\u3067\u540c\u968e\u5c64\u306b\u304a\u3051\u308b\u9806\u5e8f\u6570\u3092\u53d6\u5f97<\/li>\n\n\n\n<li><code>{0}{1}<\/code>\u306f\u6570\u5024\u306e\u66f8\u5f0f\u6307\u5b9a\uff080\u57cb\u30811\u6841\uff09<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u30de\u30b9\u30af\u7d20\u6750\u7528\u306e\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u4f5c\u6210\u3057\u3066\u30a2\u30b5\u30a4\u30f3\u3059\u308b\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35<\/h2>\n\n\n\n<p>\u6307\u5b9a\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3057\u3001\u30b7\u30a7\u30fc\u30c0\u30fc\u9078\u629e\u3001\u30ab\u30e9\u30fc\u6307\u5b9a\u5f8c\u306b\u30a2\u30b5\u30a4\u30f3\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8907\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30de\u30b9\u30af\u7528\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u30a2\u30b5\u30a4\u30f3<\/h3>\n\n\n\n<p>\u30a2\u30b5\u30a4\u30f3\u3057\u305f\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u300cMask\u300d\u3068\u3044\u3046Tag\u3092\u4ed8\u3051\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\"><code>using UnityEngine;\n\npublic class ExampleClass : MonoBehaviour\n{\n    void Start()\n    {\n        GameObject[] obstacles = GameObject.FindGameObjectsWithTag(&quot;Mask&quot;);\n        foreach (GameObject obs in obstacles)\n        {\n            Renderer rend = obs.GetComponent&lt;Renderer&gt;();\n            \/\/ \u30b7\u30a7\u30fc\u30c0\u30fc\u4f5c\u6210\u30fb\u30a2\u30b5\u30a4\u30f3\n            rend.material = new Material(Shader.Find(&quot;Unlit\/Color&quot;));\n            \/\/ \u30ab\u30e9\u30fc\u3092\u5909\u66f4\n            rend.material.color = Color.red;\n        }\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u81ea\u5206\u3067\u8272\u3092\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\uff1a<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\"><code>rend.material.color = new Color(1f, 0f, 0f);<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b2\u30fc\u30e0\u30d3\u30e5\u30fc\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3092\u64ae\u308b\u65b9\u6cd5<\/h2>\n\n\n\n<p>Photoshop\u3067\u4f5c\u3063\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u3068Unity\u3067\u4f5c\u6210\u3057\u305f\u3082\u306e\u3092\u6b63\u78ba\u306b\u898b\u6bd4\u3079\u308b\u305f\u3081\u306b\u3001\u539f\u5bf8\u306eGame\u30d3\u30e5\u30fc\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3092\u64ae\u308b\u30a8\u30c7\u30a3\u30bf\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"461\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/11\/20171108004942-768x461.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306e\u4fdd\u5b58\u5148\" class=\"wp-image-9555\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/11\/20171108004942-768x461.png 768w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/11\/20171108004942-300x180.png 300w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/11\/20171108004942.png 981w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"432\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/11\/20171108004410-768x432.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306e\u7d50\u679c\" class=\"wp-image-9554\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/11\/20171108004410-768x432.png 768w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/11\/20171108004410-300x169.png 300w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/11\/20171108004410.png 1024w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>Ctrl + Shift + F12\u3067\u4fdd\u5b58\u3002\u30c0\u30a4\u30a2\u30ed\u30b0\u3067\u4fdd\u5b58\u5148\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\"><code>using UnityEditor;\nusing UnityEngine;\n\npublic class CaptureScreenshotFromEditor : Editor\n{\n    [MenuItem(&quot;Edit\/CaptureScreenshot #%F12&quot;)]\n    private static void CaptureScreenshot()\n    {\n        string path = EditorUtility.SaveFilePanel(\n            &quot;Save Screenshot&quot;,\n            Application.dataPath,\n            System.DateTime.Now.ToString(&quot;yyyyMMdd-HHmmss&quot;),\n            &quot;png&quot;\n        );\n        ScreenCapture.CaptureScreenshot(path);\n        \n        var assembly = typeof(EditorWindow).Assembly;\n        var type = assembly.GetType(&quot;UnityEditor.GameView&quot;);\n        var gameview = EditorWindow.GetWindow(type);\n        gameview.Repaint();\n        \n        Debug.Log(&quot;ScreenShot: &quot; + path);\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u9078\u629e\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092Ctrl+G\u3067\u30b0\u30eb\u30fc\u30d7\u5316\u3059\u308b\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35<\/h2>\n\n\n\n<p>Maya\u3067\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3067\u3059\u3002\u9078\u629e\u3057\u305f\u8981\u7d20\u306e\u4e0a\u306b\u89aa\u306eGameObject\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\"><code>using UnityEngine;\nusing UnityEditor;\nusing System.Linq;\n\npublic class CreateEmptyParent : Editor\n{\n    [MenuItem(&quot;Edit\/Group Selected %g&quot;)]\n    static void Group()\n    {\n        if (Selection.transforms.Length == 0) return;\n\n        var sorted = Selection.transforms\n            .OrderBy(t =&gt; t.GetSiblingIndex())\n            .ToArray();\n\n        GameObject group = new GameObject(&quot;Group&quot;);\n        Undo.RegisterCreatedObjectUndo(group, &quot;Group Selected&quot;);\n\n        group.transform.SetParent(sorted[0].parent);\n        group.transform.SetSiblingIndex(sorted[0].GetSiblingIndex());\n\n        foreach (Transform t in sorted)\n        {\n            Undo.SetTransformParent(t, group.transform, &quot;Group Selected&quot;);\n        }\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/answers.unity.com\/questions\/118306\/grouping-objects-in-the-hierarchy.html\">https:\/\/answers.unity.com\/questions\/118306\/grouping-objects-in-the-hierarchy.html<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f7f\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d\u304b\u3089\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u691c\u7d22\u3059\u308b\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35<\/h2>\n\n\n\n<p>Mask\u3084Outline\u306a\u3069\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5165\u3063\u3066\u3044\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u3069\u3053\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u304b\u8abf\u3079\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"369\" height=\"333\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/03\/20180319012529.png\" alt=\"\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u691c\u7d22\u30a6\u30a3\u30f3\u30c9\u30a6\" class=\"wp-image-9721\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/03\/20180319012529.png 369w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/03\/20180319012529-300x271.png 300w\" sizes=\"auto, (max-width: 369px) 100vw, 369px\" \/><\/figure>\n\n\n\n<p>\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u8d77\u52d5\u3057\u3066Search For\u304b\u3089\u63a2\u3057\u305f\u3044\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d\uff08Mask\u3001Outline\u3001AspectRatioFitter\u306a\u3069\uff09\u3092\u5165\u529b\u3057\u3066Find Next\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u53c2\u8003\uff1a<a href=\"http:\/\/panzersoft.blog.fc2.com\/blog-entry-66.html\">http:\/\/panzersoft.blog.fc2.com\/blog-entry-66.html<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7121\u6599\u306e\u591a\u6a5f\u80fd\u30ea\u30cd\u30fc\u30de\u30fc\u300cMulligan Renamer\u300d<\/h2>\n\n\n\n<p>\u8907\u6570\u9078\u629e\u3067\u306e\u7f6e\u63db\u306a\u3069\u3001\u9ad8\u6a5f\u80fd\u306a\u30ea\u30cd\u30fc\u30de\u30fc\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"671\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180113232034-768x671.png\" alt=\"Mulligan Renamer\u306e\u753b\u9762\" class=\"wp-image-9636\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180113232034-768x671.png 768w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180113232034-300x262.png 300w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180113232034.png 838w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>Window \u2192 Red Blue \u2192 Mulligan Renamer\u304b\u3089\u8d77\u52d5\u3057\u307e\u3059\u3002\u8a18\u53f7\u3084\u6570\u5b57\u3092\u524a\u9664\u3067\u304d\u308b\u6a5f\u80fd\u3082\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\uff1a<a href=\"https:\/\/github.com\/redbluegames\/unity-mulligan-renamer\">https:\/\/github.com\/redbluegames\/unity-mulligan-renamer<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u65e5\u672c\u8a9e\u306e\u30ea\u30cd\u30fc\u30de\u30fc<\/h3>\n\n\n\n<p>\u65e5\u672c\u8a9eUI\u304c\u826f\u3044\u5834\u5408\u306f\u3053\u3061\u3089\u304c\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"609\" height=\"498\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180113232152.png\" alt=\"\u65e5\u672c\u8a9e\u30ea\u30cd\u30fc\u30de\u30fc\" class=\"wp-image-9637\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180113232152.png 609w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180113232152-300x245.png 300w\" sizes=\"auto, (max-width: 609px) 100vw, 609px\" \/><\/figure>\n\n\n\n<p>\u53c2\u8003\uff1a<a href=\"http:\/\/artawa.hatenablog.com\/entry\/2016\/11\/21\/002242\">http:\/\/artawa.hatenablog.com\/entry\/2016\/11\/21\/002242<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8907\u6570\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5171\u901a\u3067\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u3059\u308b\u65b9\u6cd5<\/h2>\n\n\n\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308b\u3054\u3068\u306b\u30a8\u30c7\u30a3\u30bf\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5165\u308c\u76f4\u3059\u306e\u304c\u9762\u5012\u306a\u5834\u5408\u3001\u5171\u901a\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u624b\u9806<\/h3>\n\n\n\n<ol class=\"wp-block-list is-style-num_circle\">\n<li>\u5171\u901a\u5316\u3057\u305f\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7528\u610f<\/li>\n\n\n\n<li>Unity\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u306e<code>Editor\\Data\\UnityExtensions\\Unity<\/code>\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210<\/li>\n\n\n\n<li>\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u3067DLL\u3092\u751f\u6210<\/li>\n\n\n\n<li>ivy.xml\u3092\u4f5c\u6210\u3057\u3066\u914d\u7f6e<\/li>\n<\/ol>\n\n\n\n<p>\u30d5\u30a9\u30eb\u30c0\u69cb\u6210\uff1a<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plaintext\" data-lang=\"\u69cb\u6210\"><code>Unity\n  \u2514 Custom\n      \u251c Editor\n      \u2502   \u251c CustomMenu.cs\n      \u2502   \u251c CaptureScreenshotFromEditor.cs\n      \u2502   \u2514 EditorScript.dll\n      \u2514 ivy.xml<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"296\" height=\"322\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180107210829.png\" alt=\"DLL\u751f\u6210\u306e\u6e96\u5099\" class=\"wp-image-9618\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180107210829.png 296w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180107210829-276x300.png 276w\" sizes=\"auto, (max-width: 296px) 100vw, 296px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"515\" height=\"257\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180107211342.png\" alt=\"\u5171\u901a\u5316\u306e\u78ba\u8a8d\" class=\"wp-image-9619\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180107211342.png 515w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/01\/20180107211342-300x150.png 300w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/figure>\n\n\n\n<p>\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3066Unity\u3092\u8d77\u52d5\u3059\u308b\u3068\u3001\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u3001\u5171\u901a\u306e\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/qiita.com\/r-ngtm\/items\/493fdcbd62eb94031c6e\">https:\/\/qiita.com\/r-ngtm\/items\/493fdcbd62eb94031c6e<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30ea\u30cd\u30fc\u30e0\u7cfb\uff1a\u5148\u982d\u30fb\u6700\u5f8c\u5c3e\u306b\u6587\u5b57\u8ffd\u52a0\u3001\u9023\u756a\u8ffd\u52a0<\/li>\n\n\n\n<li>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u64cd\u4f5c\uff1a\u524a\u9664\u3001\u691c\u7d22<\/li>\n\n\n\n<li>\u30b0\u30eb\u30fc\u30d7\u5316\uff1aCtrl+G\u3067\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u4f5c\u6210<\/li>\n\n\n\n<li>\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\uff1a\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u4e00\u767a\u3067\u4fdd\u5b58<\/li>\n\n\n\n<li>\u30de\u30c6\u30ea\u30a2\u30eb\u64cd\u4f5c\uff1a\u30de\u30b9\u30af\u7528\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u4e00\u62ec\u30a2\u30b5\u30a4\u30f3<\/li>\n\n\n\n<li>\u5171\u901a\u5316\uff1aDLL\u5316\u3057\u3066\u5168\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u4f7f\u7528\u53ef\u80fd<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u3092\u4f7f\u3046\u3068\u3001Unity\u306e\u6a19\u6e96\u3067\u642d\u8f09\u3055\u308c\u3066\u3044\u306a\u3044\u6a5f\u80fd\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u3066\u4fbf\u5229\u3060\u3063\u305f\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u5148\u982d\u3084\u6700\u5f8c\u5c3e\u306b\u6587\u5b57\u3092\u8ffd\u52a0\u3059\u308b\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35 \u9078\u629e\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u540d\u524d\u306e\u5148\u982d\u3084\u6700\u5f8c\u5c3e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":21679,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[24],"tags":[],"class_list":["post-17355","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\/17355","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=17355"}],"version-history":[{"count":3,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts\/17355\/revisions"}],"predecessor-version":[{"id":21680,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts\/17355\/revisions\/21680"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/media\/21679"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/media?parent=17355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/categories?post=17355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/tags?post=17355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}