diff --git a/.gitignore b/.gitignore index 51924be..ac75be4 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ Desktop.ini /Library /Logs /Temp +/UserSettings diff --git a/Packages/jp.keijiro.metamesh/Editor/MetameshImporter.cs b/Packages/jp.keijiro.metamesh/Editor/MetameshImporter.cs index 9a33e7e..27fd73f 100644 --- a/Packages/jp.keijiro.metamesh/Editor/MetameshImporter.cs +++ b/Packages/jp.keijiro.metamesh/Editor/MetameshImporter.cs @@ -1,6 +1,10 @@ using UnityEngine; using UnityEditor; +#if UNITY_2020_2_OR_NEWER +using UnityEditor.AssetImporters; +#else using UnityEditor.Experimental.AssetImporters; +#endif namespace Metamesh { diff --git a/Packages/jp.keijiro.metamesh/Editor/MetameshImporterEditor.cs b/Packages/jp.keijiro.metamesh/Editor/MetameshImporterEditor.cs index 7db7821..1cdc03e 100644 --- a/Packages/jp.keijiro.metamesh/Editor/MetameshImporterEditor.cs +++ b/Packages/jp.keijiro.metamesh/Editor/MetameshImporterEditor.cs @@ -1,6 +1,10 @@ using UnityEngine; using UnityEditor; +#if UNITY_2020_2_OR_NEWER +using UnityEditor.AssetImporters; +#else using UnityEditor.Experimental.AssetImporters; +#endif namespace Metamesh {