Skip to main content

Class TimeMachineTrack

Custom Track Asset for that can create TimeMachineClip.

public class TimeMachineTrack : TrackAsset

Inheritance​

TrackAsset→TimeMachineTrack

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​

NameTypeDescription
graphPlayableGraphThe graph to inject playables into
goGameObjectThe GameObject that requested the graph.
inputCountintThe number of playables from clips that will be inputs to the returned mixer

Returns​

Playable — A handle to the TimeMachineMixerBehaviour representing the mixer.

  • Methods
    • CreateTrackMixer(PlayableGraph, GameObject, int)