Files
HauntedBloodlines/Assets/FImpossible Creations/Plugins - Animating/Legs Animator/Modules - Community/LAM_FadeLegsSystemOnAnimator.cs
2025-05-29 22:31:40 +03:00

13 lines
486 B
C#

using UnityEngine;
namespace FIMSpace.FProceduralAnimation
{
//[CreateAssetMenu(fileName = "LAM_FadeLegsSystemOnAnimator", menuName = "LAM_FadeLegsSystemOnAnimator", order = 1)]
public class LAM_FadeLegsSystemOnAnimator : LAM_FadeOnAnimatorStatusBase
{
protected override void OnFadeAction(LegsAnimator.LegsAnimatorCustomModuleHelper helper, float fadeValue)
{
helper.Parent.LegsAnimatorBlend = Mathf.Max(0.001f, fadeValue);
}
}
}