{"image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","width":"100%","categories":["Unity","Unity - \u62e1\u5f35\u30e1\u30bd\u30c3\u30c9"],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/baba_s/","height":"190","url":"https://baba-s.hatenablog.com/entry/2014/08/05/100344","type":"rich","version":"1.0","blog_url":"https://baba-s.hatenablog.com/","published":"2014-08-05 10:03:44","title":"\u3010Unity\u3011\u30ed\u30fc\u30ab\u30eb\u5ea7\u6a19\u3092\u7dad\u6301\u3057\u305f\u307e\u307e\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\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%2F08%2F05%2F100344\" title=\"\u3010Unity\u3011\u30ed\u30fc\u30ab\u30eb\u5ea7\u6a19\u3092\u7dad\u6301\u3057\u305f\u307e\u307e\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\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","author_name":"baba_s","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 using UnityEngine; /// <summary> /// GameObject \u578b\u306e\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9\u3092\u7ba1\u7406\u3059\u308b\u30af\u30e9\u30b9 /// </summary> public static class GameObjectExtensions { /// <summary> /// \u30ed\u30fc\u30ab\u30eb\u5ea7\u6a19\u3092\u7dad\u6301\u3057\u3066\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059 /// </summary> public static void SafeSetParent(this GameObject self, GameObject parent) { var t = self.transform; t.parent = p\u2026","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0"}