Updated UniGLTF

This commit is contained in:
ousttrue 2018-07-22 00:33:43 +09:00
parent e9649cee96
commit dee5e7c708
4 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ public class VRMTest
// import
context.ParseJson(gltf.ToJson(), new SimpleStorage());
Debug.LogFormat("{0}", context.Json);
gltfImporter.Import(context);
gltfImporter.Load(context);
AssertAreEqual(go.transform, context.Root.transform);
}

View File

@ -17,7 +17,7 @@ namespace UniGLTF
}
}
public partial class glTF_extensions : JsonSerializableBase
public partial class glTF_extensions : ExtensionBase
{
public VRM.glTF_VRM_extensions VRM = new VRM.glTF_VRM_extensions();

View File

@ -44,7 +44,7 @@ namespace VRM
{
context.CreateMaterial = VRMImporter.GetMaterialFunc(glTF_VRM_Material.Parse(context.Json));
gltfImporter.Import(context);
gltfImporter.Load(context);
if (string.IsNullOrEmpty(context.Path))
{
if (string.IsNullOrEmpty(context.GLTF.extensions.VRM.meta.title))

@ -1 +1 @@
Subproject commit c0902e94e4db7029c9a7d1eb505d732b216ebbfa
Subproject commit f58f73ae752617142be5d9503f9002eb664768a6