Hello,
I’m practicing state drive camera, but I don’t know how to get hash code from blend tree.
Here is my situation.
I’m using “starter Assets - Third Person Character Controller”
There is Base Layer in Animator,
so I could get hash code from Base Layer.InAir and Idle Walk Run Blend.
//this code can have hash code
stateDriven.m_Instructions[0].m_FullHash
= Animator.StringToHash("Base Layer.InAir");
stateDriven.m_Instructions[1].m_FullHash
= Animator.StringToHash("Base Layer.Idle Walk Run Blend");
But I want get hash code for “Idle” in Base Layer >> Idle Walk Run Blend in Blend Tree.
And this code is not working.
//not work
stateDriven.m_Instructions[1].m_FullHash
= Animator.StringToHash("Base Layer.Idle Walk Run Blend.Idle");
How do I get hash code animation in blend tree?
I attached screen shot about animator (starter assets pkg).