mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-06 14:45:06 +08:00
parent
033b316fde
commit
c634956569
@ -32,7 +32,7 @@ namespace net.fushizen.modular_avatar.core
|
|||||||
|
|
||||||
[RequireComponent(typeof(SkinnedMeshRenderer))]
|
[RequireComponent(typeof(SkinnedMeshRenderer))]
|
||||||
[DisallowMultipleComponent]
|
[DisallowMultipleComponent]
|
||||||
[ExecuteInEditMode]
|
[ExecuteAlways]
|
||||||
public class ModularAvatarBlendshapeSync : AvatarTagComponent
|
public class ModularAvatarBlendshapeSync : AvatarTagComponent
|
||||||
{
|
{
|
||||||
public List<BlendshapeBinding> Bindings = new List<BlendshapeBinding>();
|
public List<BlendshapeBinding> Bindings = new List<BlendshapeBinding>();
|
||||||
@ -94,6 +94,8 @@ namespace net.fushizen.modular_avatar.core
|
|||||||
LocalBlendshapeIndex = localIndex
|
LocalBlendshapeIndex = localIndex
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
|
Loading…
Reference in New Issue
Block a user