I know you can make an object play in reverse using the speed parameter and a negative number. What I want to do is instead make a new reversed clip from an existing clip on Awake and have it available for the whole level without continually reversing the forward clips and the syntax is evading me for this. The following code is wrong but you will get the idea
var myNewReversedClip = new AnimationClip(animation["animName"].speed = -1.0);
That is correct, as long as the in and out slopes are also reversed.
– runevisionNote that AnimationClip is not enumerable, you have to use AnimationUtility.GetAllCurves() to access the curves.
– Waz