mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-14 06:50:19 -05:00
fix typo. pp
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user