I trying to trans AnimState to BlendTree-1hand-attack-stab
I can do this by clicking trigger in Animator>Parameter
But I can’t do this in Code By GetComponent().SetTrigger(“1hand-attack-stab”);
why?
name it something basic like “a” and try again with code. maybe it has something to do with naming.