{"type":"rich","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2019%2F08%2F27%2F100000\" title=\"\u3010Unity\u3011Unity 2019.2 \u65b0\u6a5f\u80fd - Missing \u306a\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6570\u3092\u53d6\u5f97\u3067\u304d\u308b\u300cGameObjectUtility.GetMonoBehavioursWithMissingScriptCount\u300d - \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 - \u65b0\u6a5f\u80fd"],"width":"100%","version":"1.0","author_name":"baba_s","title":"\u3010Unity\u3011Unity 2019.2 \u65b0\u6a5f\u80fd - Missing \u306a\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6570\u3092\u53d6\u5f97\u3067\u304d\u308b\u300cGameObjectUtility.GetMonoBehavioursWithMissingScriptCount\u300d","author_url":"https://blog.hatena.ne.jp/baba_s/","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","blog_url":"https://baba-s.hatenablog.com/","description":"\u6982\u8981 using UnityEditor; using UnityEngine; public static class Example { [MenuItem( \"Tools/Hoge\" )] private static void Hoge() { var go = Selection.activeGameObject; var count = GameObjectUtility.GetMonoBehavioursWithMissingScriptCount( go ); Debug.Log( count ); } } \u300cGameObjectUtility.GetMonoBehaviour\u2026","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20190826/20190826185752.png","url":"https://baba-s.hatenablog.com/entry/2019/08/27/100000","height":"190","published":"2019-08-27 10:00:00"}