mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-11 13:29:41 -05:00
Migration.Check
This commit is contained in:
@@ -438,6 +438,12 @@ namespace UniVRM10
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
public static void Check(ListTreeNode<JsonValue> vrm0, UniGLTF.Extensions.VRMC_vrm.VRMC_vrm vrm1)
|
||||
{
|
||||
Migration.CheckMeta(vrm0["meta"], vrm1.Meta);
|
||||
Migration.CheckHumanoid(vrm0["humanoid"], vrm1.Humanoid);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,8 +53,7 @@ namespace UniVRM10
|
||||
var VRMC_vrm = GetVRMC_vrm(gltf.extensions);
|
||||
Assert.NotNull(VRMC_vrm);
|
||||
|
||||
Migration.CheckMeta(vrm0Json["meta"], VRMC_vrm.Meta);
|
||||
Migration.CheckHumanoid(vrm0Json["humanoid"], VRMC_vrm.Humanoid);
|
||||
Migration.Check(vrm0Json, VRMC_vrm);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user