AnimancerPlayable.

Create<T>(PlayableGraph, T) Method

Summary

Creates an Animancer.AnimancerPlayable in an existing UnityEngine.Playables.PlayableGraph.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerPlayable

Syntax

protected static T Create<T>(PlayableGraph graph, T template) where T : AnimancerPlayable, new()

Examples

When inheriting from Animancer.AnimancerPlayable, it is recommended to give your class a field like the following to use as the `template` for this method:
private static readonly MyAnimancerPlayable Template = new MyAnimancerPlayable();

Type Parameters

Name Description
T

Parameters

Name Type Description
graph PlayableGraph
template T

Return Value

Type Description
T