FadeGroupExtensions.

SetEasing(FadeGroup, Func<float, float>) Method

Summary

[Pro-Only] Assigns the `function` as the Animancer.FadeGroup.Easing.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
FadeGroupExtensions

Syntax

public static void SetEasing(this FadeGroup fade, Func<float, float> function)

Remarks

This method allows you to avoid null-checking the `fade`.

Animancer Lite ignores this feature in runtime builds.

Parameters

Name Type Description
fade FadeGroup
function Func<float, float>

Return Value

Type Description
void