Selaa lähdekoodia

Update custom-blend-trees.md

salahchafai 4 vuotta sitten
vanhempi
sitoutus
ee5d54eb01
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      en/manual/animation/custom-blend-trees.md

+ 2 - 2
en/manual/animation/custom-blend-trees.md

@@ -84,7 +84,7 @@ public class AnimationBlendTree : SyncScript, IBlendTreeBuilder
         // Build the animation blend tree (stack)
         blendStack.Add(AnimationOperation.NewPush(animEvaluatorWalk, timeWalk));    // Will PUSH animation state to be evaluated at the specified Time.
         blendStack.Add(AnimationOperation.NewPush(animEvaluatorRun, timeRun));      // Will PUSH another animation state to be evaluated at the specified Time.
-        blendStack.Add(AnimationOperation.NewBlend(AnimationBlendOperation.LinearBlend, LerpFactor));   // Will POP the last two states, blend them with the factor and PUSH back the result.
+        blendStack.Add(AnimationOperation.NewBlend(CoreAnimationOperation.Blend, LerpFactor));   // Will POP the last two states, blend them with the factor and PUSH back the result.
 
         // NOTE
         // Because the blending operations are laid out in a stack you have to pack the operations in this manner.
@@ -108,4 +108,4 @@ public class AnimationBlendTree : SyncScript, IBlendTreeBuilder
 * [Additive animation](additive-animation.md)
 * [Procedural animation](procedural-animation.md)
 * [Model node links](model-node-links.md)
-* [custom attributes](custom-attributes.md)
+* [custom attributes](custom-attributes.md)