{"published":"2015-04-20 15:03:17","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2015%2F04%2F20%2F150317\" title=\"\u3010Unity\u3011\u30a8\u30c7\u30a3\u30bf\u7de8\u96c6\u4e2d\u306b\u4ed6\u306e\u30b7\u30fc\u30f3\u3092\u958b\u3044\u305f\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3092\u5b9f\u88c5\u3059\u308b - \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>","title":"\u3010Unity\u3011\u30a8\u30c7\u30a3\u30bf\u7de8\u96c6\u4e2d\u306b\u4ed6\u306e\u30b7\u30fc\u30f3\u3092\u958b\u3044\u305f\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3092\u5b9f\u88c5\u3059\u308b","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/baba_s/","url":"https://baba-s.hatenablog.com/entry/2015/04/20/150317","description":"using UnityEditor; using UnityEngine; public static class Hoge { [InitializeOnLoadMethod] private static void OnChangedCurrentScene() { EditorApplicationUtils.mChangedCurrentScene = currentScene => { Debug.Log( currentScene ); }; } } \u4f8b\u3048\u3070\u30a8\u30c7\u30a3\u30bf\u7de8\u96c6\u4e2d\u306bUI\u7528\u306e\u30b7\u30fc\u30f3\u3092\u958b\u3044\u305f\u6642\u306b Scene\u30d3\u30e5\u30fc\u306e\u8868\u793a\u30922D\u30e2\u30fc\u30c9\u306b\u5909\u66f4\u3059\u308b\u306a\u3069\u884c\u3044\u305f\u3044\u6642\u306b\u5f79\u306b\u7acb\u3061\u307e\u3059","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","type":"rich","provider_url":"https://hatena.blog","version":"1.0","blog_url":"https://baba-s.hatenablog.com/","author_name":"baba_s","width":"100%","height":"190","categories":["Unity","Unity - \u30a8\u30c7\u30a3\u30bf\u62e1\u5f35"]}