Sorry for the raft of questions I am asking at the moment but want to fully know what I should be doing etc.
Currently have a situation where I start an animation via "Animator Play" and I pass this "attack_1" as the name to play. This works fine, however when I call Get Animator Current State Info Is Name and pass it "attack_1" and have a callback for when it matches it never seems to occur.
I read somewhere that you should prefix it with the layer name, but I and not using any other layers, however it is contained within a sub state machine called "attacks" however I have tried prefixing with that (i.e attacks.attack_1) however that doesn't seem to work either, so is there some trick to the naming format?
I have also tried the inverse where I check to make sure it is NOT attack_1 but then it still always goes back to the original state like it never starts as attack_1, which I guess could be true if it is still interpolating between the previous animation and current animation...