Method Compile
Compile(PlayableGraph, Playable, IEnumerable<TrackAsset>, GameObject, bool, bool)
Compiles the subgraph of this timeline
Declaration
public void Compile(PlayableGraph graph, Playable timelinePlayable, IEnumerable<TrackAsset> tracks, GameObject go, bool autoRebalance, bool createOutputs)
Parameters
| Type | Name | Description |
|---|---|---|
| PlayableGraph | graph | The playable graph to inject the timeline. |
| Playable | timelinePlayable | |
| IEnumerable<TrackAsset> | tracks | The list of tracks to compile |
| GameObject | go | The GameObject that initiated the compilation |
| bool | autoRebalance | In the editor, whether the graph should account for the possibility of changing clip times |
| bool | createOutputs | Whether to create PlayableOutputs in the graph |