mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-11 04:54:17 -05:00
Updated UniGLTF
This commit is contained in:
parent
e9649cee96
commit
dee5e7c708
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
2
UniGLTF
2
UniGLTF
|
|
@ -1 +1 @@
|
|||
Subproject commit c0902e94e4db7029c9a7d1eb505d732b216ebbfa
|
||||
Subproject commit f58f73ae752617142be5d9503f9002eb664768a6
|
||||
Loading…
Reference in New Issue
Block a user