So i’ve setup 3 layers,
base
- legs
- torso
All of my code for layer 0 works fine when checking the “!a.IsInTransition(0)” & comparing the st.IsTag value.
The code snippet below is almost a duplicate of the same code for layer 0, however it never gets into the “Attack1” section and the character continuously swings.
if(!a.IsInTransition(2))
{
if(st.IsTag("Attack1"))
{
UpdateAnimations("Attack1", false);
}
}