πΉCurve-blending
In this section you will learn more about curves
public static readonly List<string> AnimCurveNames = new()
{
"MaskLeftHand",
"MaskLookLayer",
"WeaponBone",
"Overlay"
};// Will select a curve for the CoreAnimGraph
[AnimCurveName(false)] [SerializeField] private string graphCurveName;
// Will select a curve from your Animator Controller
[AnimCurveName(true)] [SerializeField] private string animatorCurveName;
public override void OnAnimUpdate()
{
//... Your implementation
float graphCurveValue = GetCurveValue(graphCurveName);
float animatorCurveValue = GetAnimator().GetFloat(animatorCurveName);
}Last updated