Add support for exporting l2d poses (pose3.json)

This commit is contained in:
VaDiM
2024-11-03 02:06:21 +03:00
parent 18813b22c3
commit 70aa8bec59
4 changed files with 90 additions and 2 deletions

View File

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