How to make the animations of two characters interact with each other?

hello! i’m working on a scene with two characters managed by the AI. i would like to make it so that: in the moment in which a character uses an attack animation, the other character dies. for example the animation of a sword strike in the moment in which the animation of the character 1 ends starts the animation of the character 2

try using animation events (Unity - Manual: Using Animation Events)