RotateParticleSpringboneRuntimeProvider

This commit is contained in:
ousttrue
2024-11-07 19:18:00 +09:00
parent b0d6087272
commit 9cca2a3c99
6 changed files with 250 additions and 275 deletions

View File

@@ -567,11 +567,7 @@ namespace UniVRM10.Cloth.Viewer
awaitCaller: m_useAsync.enabled ? (IAwaitCaller)new RuntimeOnlyAwaitCaller() : (IAwaitCaller)new ImmediateCaller(),
materialGenerator: GetVrmMaterialDescriptorGenerator(true),
vrmMetaInformationCallback: m_texts.UpdateMeta,
springboneRuntime: new RotateParticle.RotateParticleSpringboneRuntime((instance) =>
{
var autoSetup = instance.transform.gameObject.AddComponent<RotateParticle.HumanoidAutoSetup>();
autoSetup.Reset();
}));
springboneRuntime: new RotateParticle.RotateParticleSpringboneRuntime());
if (cancellationToken.IsCancellationRequested)
{
UnityObjectDestroyer.DestroyRuntimeOrEditor(vrm10Instance.gameObject);