private void Death() { state.death = true; state.control = false; timers.deathTimer = deathTime; animator.AnimatorDeath(); lives -= 1; }
public void Respawn() { state.death = false; animator.AnimatorDeath(); rb.transform.position = checkpoint; rb.velocity = Vector3.zero; playerManager.currHealth = 1000; state.Reset_State(); timers.immuneTimer = 3.0f; }