How can I have two scripts in the animator panel ?

Hi,

I want to play sounds in function of my animations. I’ve seen that I can use the animations to enable/disable a script and modify some values.

I want two audio source (one for the vocals and one for the noises), and manage them with 1 or 2 scripts. I’ve created my two audio sources, each one linked to a specific Audio Mixer Group.

But, when I want to use my two scripts in the animation, I can only select one ?

Why ? Does anybody have a solution for me pls ?

You should opt for AnimationEvent instead. Select the position and click the vertical bar with a plus sign above samples.

That will add the sign on the animation. Then click on it, that will open a window to select a method. Those methods are public methods on scripts attached to the object containing the Animator.