We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb4283a commit 3c65659Copy full SHA for 3c65659
1 file changed
Runtime/Scripts/MeshAnimator.cs
@@ -26,6 +26,7 @@ private void Awake()
26
[PublicAPI]
27
public void Play(string animationName, float speed = 1f, float? normalizedTime = 0f)
28
{
29
+ meshRenderer.GetPropertyBlock(_propertyBlock);
30
meshAnimation.Play(_propertyBlock, animationName, speed, normalizedTime);
31
meshRenderer.SetPropertyBlock(_propertyBlock);
32
}
0 commit comments