Add cdi3.json support for l2d export (beta)

This commit is contained in:
VaDiM
2024-02-09 22:34:08 +03:00
parent d4162161be
commit 535153be6b
4 changed files with 125 additions and 0 deletions

View File

@ -14,6 +14,7 @@ namespace CubismLive2DExtractor
FadeMotion,
Expression,
Physics,
DisplayInfo,
}
public static string ParsePhysics(OrderedDictionary physicsDict)
@ -143,6 +144,9 @@ namespace CubismLive2DExtractor
case CubismMonoBehaviourType.Physics:
fieldName = "_rig";
break;
case CubismMonoBehaviourType.DisplayInfo:
fieldName = "name";
break;
}
if (m_Type.m_Nodes.FindIndex(x => x.m_Name.ToLower() == fieldName) < 0)
{