{"provider_url":"https://hatena.blog","published":"2025-03-09 14:01:05","categories":["Unity"],"width":"100%","height":"190","version":"1.0","title":"\u3010Unity\u3011AssetDatabase.TryGetAssetFolderInfo \u306e\u4f7f\u7528\u4f8b","author_name":"baba_s","type":"rich","url":"https://baba-s.hatenablog.com/entry/2025/03/09/140105","blog_url":"https://baba-s.hatenablog.com/","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","image_url":null,"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%2F2025%2F03%2F09%2F140105\" title=\"\u3010Unity\u3011AssetDatabase.TryGetAssetFolderInfo \u306e\u4f7f\u7528\u4f8b - \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_name":"Hatena Blog","description":"\u6982\u8981 using UnityEditor; using UnityEngine; internal static class Example { [MenuItem( \"Tools/Example\" )] private static void Run() { var assetGUID = Selection.assetGUIDs[ 0 ]; var path = AssetDatabase.GUIDToAssetPath( assetGUID ); var isAsset = AssetDatabase.TryGetAssetFolderInfo ( path: path, rootFol\u2026"}