mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-13 14:29:38 -05:00
add VRMImporterContext.ParseVrm and VRMImporterContext.ReadMeta
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user