{"provider_name":"Hatena Blog","url":"https://baba-s.hatenablog.com/entry/2022/08/31/092100","width":"100%","published":"2022-08-31 09:21:00","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20220831/20220831092034.png","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","author_name":"baba_s","author_url":"https://blog.hatena.ne.jp/baba_s/","version":"1.0","height":"190","blog_url":"https://baba-s.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2022%2F08%2F31%2F092100\" title=\"\u3010Unity\u3011Inspector \u306e Add Component \u30dc\u30bf\u30f3\u306e\u4e0b\u306b\u30dc\u30bf\u30f3\u3092\u8ffd\u52a0\u3057\u3066\u307f\u308b - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Unity","Unity - \u30a8\u30c7\u30a3\u30bf\u62e1\u5f35"],"title":"\u3010Unity\u3011Inspector \u306e Add Component \u30dc\u30bf\u30f3\u306e\u4e0b\u306b\u30dc\u30bf\u30f3\u3092\u8ffd\u52a0\u3057\u3066\u307f\u308b","provider_url":"https://hatena.blog","type":"rich","description":"\u6982\u8981 using System.Linq; using UnityEditor; using UnityEngine; using UnityEngine.UIElements; public static class Example { [MenuItem( \"Tools/Hoge\" )] public static void Hoge() { var assembly = typeof( Editor ).Assembly; var windowTypeName = \"UnityEditor.InspectorWindow\"; var windowType = assembly.GetTy\u2026"}