unity how to edit animation code example Example: unity c# change animation gameObject.GetComponent<Animator>().Play(string animationName);