fix: no purge MoveIndependently (#749)

This commit is contained in:
Reina_Sakiria 2024-03-09 17:57:15 +09:00 committed by GitHub
parent 37e7ebcae1
commit 01d24f6809
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,6 +84,10 @@ namespace nadena.dev.modular_avatar.core.editor.plugin
{
UnityEngine.Object.DestroyImmediate(component);
}
foreach (var component in ctx.AvatarRootTransform.GetComponentsInChildren<ArmatureAwase.MAMoveIndependently>(true))
{
UnityEngine.Object.DestroyImmediate(component);
}
});
#if MA_VRCSDK3_AVATARS
seq.Run(PruneParametersPass.Instance);