private void CreateAnimation(float toValue) { float fromValue = skin.GetBlendShapeWeight(BLEND_DILATE_IDX); if (currentAnimation != null) { currentAnimation.Abort(); } currentAnimation = new BlendShapeAnimation(skin, BLEND_DILATE_IDX, fromValue, toValue, dilateDuration, Ease.Cubic.Out); currentAnimation.Play(); }