Problem in using AnimationUtility.SetEditorCurve

Hi,

I have parent object with different child objects and Animation clip attached to this parent object.
When pasting copied ‘Keyframe’ from one point of timeline to other in same child object, it works with AnimationUtility.SetEditorCurve()
But couldn’t paste copied ‘Keyframe’ from one point of child object to other child object(here rather it pastes to the same source child object).

Was this Unity bug?? Can anybody please give the solution to this problem? Thanks a lot! :slight_smile:

Never mind, I figured out the problem it was in the usage.
Unity : You guys are great!!!

Thanks.