title: Get name of current animation state
body: <p>How can I get the name of the current state in a layer on my Animator component? I realize that I can compare the name with <code>GetCurrentAnimatorStateInfo(0).IsName("statename")</code> but I don't want to have to run that for each state in my layer. Is it possible to simply get the name of the current state?</p>