- Home /
Splitting animations and events
Hi there, I have authored an animation which has several events. In code I've then split this large anim into several seperate clips - my question is, are the events also split into the correct clips and are their relative positions in the timline preserved? As currently one of the clips I'm playing is firing off an event which should belong to another clip!
I notice that after it's created the clips you can pause it in the editor and select the new clips created in code - whether this is correct or not I'm unsure, but it's still displaying all the frames and events of it's parent clip.
THanks
As a test, I create two seperate clips - so manually doing what the code was supposed to do - and now the rogue event isn't playing anymore.. so it seems when you split a clip up,the events are split with it correctly.
Your answer
![](https://koobas.hobune.stream/wayback/20220613070052im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can you check for player input during specific frames of an animation? 1 Answer
Animation Events added with code seem to be at wrong time 0 Answers
Is there a way to select animation events on the dopesheet beside clicking on them? 0 Answers
Animation Events do not trigger 0 Answers
"Animation Rigging" package and animation events - do they work together? 0 Answers