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