I am looking for an editor script which can read all the curves from animation clip attached to the gameobject and log the keyframe / curve values to a text file.
After that, I can create AnimationClip runtime by reading the keyframe/curve data from the same text file. (This way I can modify any necessary property values if needed).
Is there a editor script available ? If not, kindly help me how I can write my own editor script to do this. Perhaps I have to use AnimationUtilty class for this.