how to get the current gameobject animator in unity
Code Example - how to get the current gameobject animator in unity
Animator animator = this.GetComponent<Animator>();
Animator animator = this.GetComponent<Animator>();