{"url":"https://baba-s.hatenablog.com/entry/2014/12/12/224529","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2014%2F12%2F12%2F224529\" title=\"\u3010Unity\u3011Destroy\u95a2\u6570\u306e\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","type":"rich","published":"2014-12-12 22:45:29","version":"1.0","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","height":"190","categories":["Unity","Unity - \u62e1\u5f35\u30e1\u30bd\u30c3\u30c9"],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/baba_s/","author_name":"baba_s","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 using UnityEngine; public static class GameObjectExtensions { /// <summary> /// \u7834\u68c4\u3057\u307e\u3059 /// </summary> public static void Destroy( this GameObject self ) { GameObject.Destroy( self ); } } \u4f7f\u3044\u65b9 // GameObject \u578b\u306e static \u95a2\u6570\u3067\u547c\u3073\u51fa\u3057 GameObject.Destroy( go ); // \u62e1\u5f35\u30e1\u30bd\u30c3\u30c9\u3067\u547c\u3073\u51fa\u3057 go.Destroy(); \u95a2\u9023\u8a18\u4e8b","blog_url":"https://baba-s.hatenablog.com/","title":"\u3010Unity\u3011Destroy\u95a2\u6570\u306e\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9","width":"100%"}