diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs index bb0b358da..ec853fb0b 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs @@ -152,10 +152,10 @@ namespace UniGLTF { get { - if (string.IsNullOrEmpty(Value)) return PathType.Unsuported; + if (string.IsNullOrEmpty(Value)) return PathType.Unsupported; var directory = Path.GetDirectoryName(Value); - if (string.IsNullOrEmpty(directory)) return PathType.Unsuported; + if (string.IsNullOrEmpty(directory)) return PathType.Unsupported; var rootDirectoryName = directory.Split(Path.DirectorySeparatorChar); @@ -166,7 +166,7 @@ namespace UniGLTF case "Packages": return PathType.Packages; default: - return PathType.Unsuported; + return PathType.Unsupported; } } } @@ -535,6 +535,6 @@ namespace UniGLTF { Assets, Packages, - Unsuported, + Unsupported, } } diff --git a/Assets/UniGLTF/Tests/UniGLTF/UniGLTFTests.cs b/Assets/UniGLTF/Tests/UniGLTF/UniGLTFTests.cs index 98b7699a9..fda33ec4b 100644 --- a/Assets/UniGLTF/Tests/UniGLTF/UniGLTFTests.cs +++ b/Assets/UniGLTF/Tests/UniGLTF/UniGLTFTests.cs @@ -218,10 +218,10 @@ namespace UniGLTF [Test] [Category("UnityPath")] - [TestCase("", PathType.Unsuported)] - [TestCase("Assets", PathType.Unsuported)] + [TestCase("", PathType.Unsupported)] + [TestCase("Assets", PathType.Unsupported)] [TestCase("Assets/何らかの/パス", PathType.Assets)] - [TestCase("Packages", PathType.Unsuported)] + [TestCase("Packages", PathType.Unsupported)] [TestCase("Packages/ローカルパッケージ", PathType.Packages)] public void UnityPathPathType(string path, PathType pathType) {