Is there a way to edit the animation clip with editor script?

I want to change all the y value of position data, and z value of all the rotation data for all the key frame to negative value if it is positive value, and positive if it is negative, can I do that?

Here: AnimationUtility.
Important methods: GetCurveBinding(), GetEditorCurve(), and SetEditorCurve().

1 Like