Unity how to reset animator state code example Example: reset animator unity animator.Play("anim", -1, 0f);