{"published":"2022-09-23 18:24:17","categories":["Unity","Unity - \u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0"],"width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2022%2F09%2F23%2F182417\" title=\"\u3010Unity\u3011\u30a8\u30c7\u30a3\u30bf\u306e GUI \u3067\u30ea\u30b9\u30c8\u306b\u8981\u7d20\u304c\u30c9\u30e9\u30c3\u30b0\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u3092\u691c\u77e5\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>","author_url":"https://blog.hatena.ne.jp/baba_s/","provider_name":"Hatena Blog","author_name":"baba_s","height":"190","title":"\u3010Unity\u3011\u30a8\u30c7\u30a3\u30bf\u306e GUI \u3067\u30ea\u30b9\u30c8\u306b\u8981\u7d20\u304c\u30c9\u30e9\u30c3\u30b0\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u3092\u691c\u77e5\u3059\u308b\u65b9\u6cd5","image_url":null,"url":"https://baba-s.hatenablog.com/entry/2022/09/23/182417","provider_url":"https://hatena.blog","blog_url":"https://baba-s.hatenablog.com/","description":"\u6982\u8981 using var scope = new EditorGUI.ChangeCheckScope(); var oldCount = m_list.Count; m_editor.OnInspectorGUI(); if ( !scope.changed && oldCount == m_list.Count ) return; Debug.Log( \"\u30d4\u30ab\u30c1\u30e5\u30a6\" ); \u30a8\u30c7\u30a3\u30bf\u306e GUI \u3067\u30ea\u30b9\u30c8\u306b\u8981\u7d20\u304c\u30c9\u30e9\u30c3\u30b0\u3055\u308c\u305f\u6642\u306f ChangeCheckScope.changed \u304c true \u306b\u306a\u3089\u306a\u3044 \u30ea\u30b9\u30c8\u306e\u8981\u7d20\u6570\u304c\u5909\u5316\u3057\u305f\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308c\u3070\u691c\u77e5\u3067\u304d\u308b","type":"rich","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0"}