{"title":"\u3010Unity\u3011Destroy may not be called from edit mode! Use DestroyImmediate instead.","author_url":"https://blog.hatena.ne.jp/baba_s/","provider_url":"https://hatena.blog","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","url":"https://baba-s.hatenablog.com/entry/2015/07/12/100000","description":"Destroy may not be called from edit mode! Use DestroyImmediate instead. Also think twice if you really want to destroy something in edit mode. Since this will destroy objects permanently. \u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u306e\u51e6\u7406\u3067GameObject.Destroy\u3092\u547c\u3073\u51fa\u3059\u3068\u4e0a\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059 \u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u3067\u30b2\u30fc\u30e0\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u524a\u9664\u3057\u305f\u3044\u3068\u304d\u306f GameObject.DestroyImmediate\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059","type":"rich","height":"190","provider_name":"Hatena Blog","author_name":"baba_s","categories":["Unity","Unity - \u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0"],"width":"100%","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2015%2F07%2F12%2F100000\" title=\"\u3010Unity\u3011Destroy may not be called from edit mode! Use DestroyImmediate instead. - \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>","blog_url":"https://baba-s.hatenablog.com/","published":"2015-07-12 10:00:00"}