AnimancerUtilities.

AddAnimancerComponent<T>(Animator) Method

Summary

[Animancer Extension] Adds the specified type of Animancer.IAnimancerComponent, links it to the `animator`, and returns it.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerUtilities

Syntax

public static T AddAnimancerComponent<T>(this Animator animator) 
    where T : Component, IAnimancerComponent

Type Parameters

Name Description
T

Parameters

Name Type Description
animator Animator

Return Value

Type Description
T