void Die() { alive = false; heartRate = 0; heartBar.SetSize(heartRate); tummyBar.ResetColor(); tummyShake.StopShake(); colonBar.ResetColor(); pooShake.StopShake(); SceneManager.LoadScene("GameOver"); if (foodTotal <= 0f && pooTotal >= pooCapacity) { print("You died full of poop"); } else if (foodTotal >= foodCapacity && pooTotal >= pooCapacity) { exploded = true; print("You exploded!"); } else if (foodTotal <= 0f) { print("You starved!"); } else if (foodTotal >= foodCapacity) { print("You overate!"); } else { print("Why did you die?"); } }