You can't getAnimationCurves from an AnimationClip. Strangely/sadly you can only set or add curves.
You'll have to keep track of any curves you create procedurally, in a dictionary for instance.
You can't getAnimationCurves from an AnimationClip. Strangely/sadly you can only set or add curves.
You'll have to keep track of any curves you create procedurally, in a dictionary for instance.