mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-13 14:29:38 -05:00
Add exporterVersion
This commit is contained in:
@@ -8,8 +8,7 @@ namespace VRM
|
||||
[Serializable]
|
||||
public class glTF_VRM_extensions : JsonSerializableBase
|
||||
{
|
||||
[Obsolete("use gltf.asset.generator")]
|
||||
public string version = VRMVersion.VERSION;
|
||||
public string exporterVersion = "UniVRM-" + VRMVersion.VERSION;
|
||||
|
||||
public glTF_VRM_Meta meta = new glTF_VRM_Meta();
|
||||
public glTF_VRM_Humanoid humanoid = new glTF_VRM_Humanoid();
|
||||
@@ -20,7 +19,7 @@ namespace VRM
|
||||
|
||||
protected override void SerializeMembers(JsonFormatter f)
|
||||
{
|
||||
//f.KeyValue(() => version);
|
||||
f.KeyValue(() => exporterVersion);
|
||||
f.KeyValue(() => meta);
|
||||
f.KeyValue(() => humanoid);
|
||||
f.KeyValue(() => firstPerson);
|
||||
|
||||
Reference in New Issue
Block a user