fix GltfParser.TargetPath

This commit is contained in:
ousttrue 2021-03-22 14:32:37 +09:00
parent b40c65d98b
commit 276d132573

View File

@ -77,7 +77,15 @@ namespace UniGLTF
Parse(path, File.ReadAllBytes(path));
}
public string TargetPath;
string m_targetPath;
public string TargetPath
{
get => m_targetPath;
set
{
m_targetPath = Path.GetFullPath(value);
}
}
/// <summary>
/// Parse gltf json or Parse json chunk of glb