Merge pull request #810 from ousttrue/fix/gltfparser_targetpath

fix GltfParser.TargetPath
This commit is contained in:
ousttrue
2021-03-22 14:37:52 +09:00
committed by GitHub

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