This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 1 - Overriding CreateTrackMixer in the CustomTransformationTrack class, | |
getting the start & end times for each clip, and passing them to the custom clip class. */ | |
//[Omitted...] | |
public class CustomTransformationTrack : TrackAsset | |
{ | |
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount) | |
{ | |
foreach (var clip in GetClips()) | |
{ |