CurrentUmaContainer is now of type UmaContainerCharacter
This commit is contained in:
@@ -17,7 +17,7 @@ public class ModelExporter
|
||||
{
|
||||
static string modelInfo = $"Generated by UmaViewer {Application.version}, Copyright Cygames \nLink : https://github.com/katboi01/UmaViewer";
|
||||
|
||||
public static void ExportModel(UmaContainer container, string path)
|
||||
public static void ExportModel(UmaContainerCharacter container, string path)
|
||||
{
|
||||
container.SetDynamicBoneEnable(false);
|
||||
container.UmaFaceAnimator?.Rebind();
|
||||
@@ -93,7 +93,7 @@ public class ModelExporter
|
||||
return tmp;
|
||||
}
|
||||
|
||||
private static void AddBlendShape(UmaContainer container)
|
||||
private static void AddBlendShape(UmaContainerCharacter container)
|
||||
{
|
||||
if (!container.FaceDrivenKeyTarget) return;
|
||||
SkinnedMeshRenderer faceMesh = null;
|
||||
|
||||
Reference in New Issue
Block a user