system
1
Question: How does one copy and paste keyframes in the Animation Editor?
It seems as if this would be pretty straightforward but alas, I'm at a loss.
Still churning through the Animation Tool Reference
but having a tough time finding the instructions for copy/paste of keyframes...
3 Answers
3
It’s been added to Unity some time after this question was asked, yet may still be tricky to figure out.
Short explanation: Ctrl+C, Ctrl+V in “Dope Sheet” mode
-
Select Object with Animation
-
Open Animation Window
-
Click “Dope Sheet” (bottom left)
I could not get it to work in “Curves” mode
-
Click time-line on column with key frames to get red line on column
-
Press Ctrl + C
-
Click time-line where you want to paste
-
Press Ctrl + V
-
Profit
Copy and paste is not supported in the Animation View at this point.
There is a feature request for this feature here, which you can vote up if you want.
I found one workaround for copying keyframes in the Animation editor (using Unity 4.3)
- Locate the keyframe you want to copy and make sure all the transformations are keyframed (there are no holes in the column of diamonds).
- Drag the keyframe to the end of the animation
- Highlight all the transformations in the “Add Curve” window.
- Select anywhere on the timeline after the keyframe you moved and hit the “add keyframe” button.
- The keyframe is now duplicated and you can drag it back to it’s original position.
Dave
I also found myself here, looking for this answer! Hi Spence! :-) Still no such luck on this feature, and the link in Rune's answer is not working for me, but according to the suggestion page below, it's currently under review. I cast a vote for it. http://feedback.unity3d.com/unity/all-categories/1/hot/active/animation-editor-copy--paste-k
– Cameron_PettyDidn't make it into 4 either... I want DIRECT ANIMATION ACCESS... somehiw.
– parsedTry this its absolutely amazing.... it costs %25 bucks though and there still working on Unity implementation. http://brashmonkey.com/spriter.htm
– kodagamesTry the Copy transform script! I used it for replacing objects. But now it worked well for the animation. http://wiki.unity3d.com/index.php?title=CopyTransform
– drfrankie