{"provider_url":"https://hatena.blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20161103/20161103112803.png","blog_url":"https://baba-s.hatenablog.com/","provider_name":"Hatena Blog","title":"\u3010Unity\u3011\u3010NGUI\u3011BoxCollider\u306e\u4f4d\u7f6e\u3068\u30b5\u30a4\u30ba\u3092UIWidget\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u5408\u308f\u305b\u3066\u8abf\u6574\u3059\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30e1\u30cb\u30e5\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35","version":"1.0","author_url":"https://blog.hatena.ne.jp/baba_s/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2017%2F02%2F27%2F100000\" title=\"\u3010Unity\u3011\u3010NGUI\u3011BoxCollider\u306e\u4f4d\u7f6e\u3068\u30b5\u30a4\u30ba\u3092UIWidget\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u5408\u308f\u305b\u3066\u8abf\u6574\u3059\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30e1\u30cb\u30e5\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35 - \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>","width":"100%","type":"rich","height":"190","author_name":"baba_s","published":"2017-02-27 10:00:00","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","url":"https://baba-s.hatenablog.com/entry/2017/02/27/100000","categories":["Unity","Unity - \u30a8\u30c7\u30a3\u30bf\u62e1\u5f35"],"description":"using UnityEditor; using UnityEngine; public static class BoxColliderContextMenu { [MenuItem( \"CONTEXT/BoxCollider/Adjust To Match\" )] private static void AdjustToMatch( MenuCommand command ) { var boxCollider = command.context as BoxCollider; NGUITools.UpdateWidgetCollider( boxCollider, true ); } [\u2026"}