Summary
Creates a new empty
UnityEngine.Playables.PlayableGraph
and consumes the name set by Animancer.AnimancerGraph.SetNextGraphName(System.String)
if it was called.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerGraph
Syntax
public static PlayableGraph CreateGraph()
Remarks
The caller is responsible for calling
Animancer.AnimancerGraph.Destroy
on the returned object,
except in Edit Mode where it will be called automatically.
Return Value
Type | Description |
---|---|
PlayableGraph |