add VRMImporterContext.ParseVrm and VRMImporterContext.ReadMeta

This commit is contained in:
ousttrue
2018-03-30 16:51:56 +09:00
parent 9b2762d99e
commit d1a18fdd4e
5 changed files with 82 additions and 172 deletions

View File

@@ -15,10 +15,10 @@ namespace VRM
var ext = Path.GetExtension(path).ToLower();
if (ext == ".vrm")
{
VRMImporterContext context = null;
var context = new VRMImporterContext(path);
try
{
context=VRMImporter.LoadFromPath(path);
VRMImporter.LoadFromPath(context);
/*
var prefabPath = String.Format("{0}/{1}.prefab",