Class TimeMachineTrack
Custom Track Asset for that can create TimeMachineClip.
public class TimeMachineTrack : TrackAsset
Inheritance
Methods
CreateTrackMixer(PlayableGraph, GameObject, int)
Creates a TimeMachineMixerBehaviour used to blend and handle TimeMachineBehaviour injected by TimeMachineClip on the track.
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)
Parameters
| Name | Type | Description |
|---|---|---|
graph | PlayableGraph | The graph to inject playables into |
go | GameObject | The GameObject that requested the graph. |
inputCount | int | The number of playables from clips that will be inputs to the returned mixer |
Returns
Playable — A handle to the TimeMachineMixerBehaviour representing the mixer.