Using crossFade

Hi All,

I have a GameObject with different animations organized in several layers so Some animation with higher priority than others.

When I use animation.crossFade(“myAnnimation”) what happens to the animation in other layers? are they still playing? are they blend with the target animation? I saw in the docs that animation on the same layers are faded out but what happens with animation on different layers?

Please help me

Thank u in advance

if mode is PlayMode.StopSameLayer, animations in the same layer as animation will be faded out while animation is faded in. if mode is PlayMode.StopAll, all animations will be faded out while animation is faded in.