{If you don't understand what I mean, I can give a similar example to help you understand. For example: In the Unity Engine user interface, I created 10 buttons and set 10 numbers in the background, such as 1-10. When I click "Play", each time the text of each button is automatically assigned to 1-10, and the button text will judge each other, so the numbers on the 10 button texts are different. But the text numbers of these ten buttons include all 1-10, there are no buttons with repeated digital text. You can replace the button in this example with a skeletal animation, and the action in my animation is the "text" in this example, but I do n’t know how many actions are in the animation beforehand)
I mean, let the identical skeleton animation in the scene judge each other whether the animation is the same. If judge that the two skeleton animation play the same action, let one of the skeleton animation play the other action.