{"author_name":"baba_s","type":"rich","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","height":"190","categories":["Unity","Unity - \u62e1\u5f35\u30e1\u30bd\u30c3\u30c9"],"version":"1.0","provider_name":"Hatena Blog","title":"\u3010Unity\u3011GetComponentsInChildren\u3067\u81ea\u5206\u81ea\u8eab\u3092\u542b\u307e\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2014%2F06%2F05%2F220224\" title=\"\u3010Unity\u3011GetComponentsInChildren\u3067\u81ea\u5206\u81ea\u8eab\u3092\u542b\u307e\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9 - \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>","provider_url":"https://hatena.blog","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/baba_s/","published":"2014-06-05 22:02:24","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 using System.Linq; using UnityEngine; public static class GameObjectExtensions { public static T[] GetComponentsInChildrenWithoutSelf<T>(this GameObject self) where T : Component { return self.GetComponentsInChildren<T>().Where(c => self != c.gameObject).ToArray(); } } \u4f7f\u3044\u65b9 gameObject.GetCompo\u2026","width":"100%","url":"https://baba-s.hatenablog.com/entry/2014/06/05/220224","blog_url":"https://baba-s.hatenablog.com/"}