// Damage processes void Damage() { ps.StopAim(); //sets the damage animation // stunMovement = true; //stuns player movement for a period of time // stunMovementTime = Time.time + 0.5f; ps.health--; ps.UpdateHealthBar(); }
// Damage processes void Damage() { ps.StopAim(); //sets the damage animation // stunMovement = true; //stuns player movement for a period of time // stunMovementTime = Time.time + 0.5f; ps.health--; ps.UpdateHealthBar(); }