{"blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/baba_s/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2017%2F06%2F21%2F100000\" title=\"\u3010Unity\u3011OnPreprocessTexture\u3067\u30c6\u30af\u30b9\u30c1\u30e3\u306e\u30b5\u30a4\u30ba\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5 - \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","url":"https://baba-s.hatenablog.com/entry/2017/06/21/100000","provider_name":"Hatena Blog","version":"1.0","title":"\u3010Unity\u3011OnPreprocessTexture\u3067\u30c6\u30af\u30b9\u30c1\u30e3\u306e\u30b5\u30a4\u30ba\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5","description":"Unity 5.4.3f1 public class TextureAssetPostProcessor : AssetPostprocessor { private void OnPreprocessTexture() { var impoter = assetImporter as TextureImporter; var size = new object[ 2 ] { 0, 0 }; var method = typeof( TextureImporter ).GetMethod( \"GetWidthAndHeight\", BindingFlags.NonPublic | Bindin\u2026","author_name":"baba_s","height":"190","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","width":"100%","published":"2017-06-21 10:00:00","blog_url":"https://baba-s.hatenablog.com/","categories":["Unity"]}