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 |
Return Value
| Type | Description |
|---|---|
| void |