float prevSpeed; // Pause var animator = GetComponent<Animator>(); prevSpeed = animator.speed; animator.speed = 0; // Continue animator.speed = prevSpeed;