예제 #1
0
 /// <summary>Modify the current fade to use the specified `function` to calculate the weight.</summary>
 /// <example>See <see cref="CustomFade"/>.</example>
 public static void Apply(AnimancerState state, Interpolation.Function function)
 => Delegate.Acquire(function.GetDelegate01()).Apply(state);
예제 #2
0
        /************************************************************************************************************************/

        /// <summary>Modify the current fade to use the specified `function` to calculate the weight.</summary>
        /// <example>See <see cref="CustomFade"/>.</example>
        public static void Apply(AnimancerPlayable animancer, Interpolation.Function function)
        => Delegate.Acquire(function.GetDelegate01()).Apply(animancer);