// Update is called once per frame void Update() { health.Update(); if (health.Dead()) { playerAlive = false; deathReason = "You got mauled by a zombie!"; } }
// Update is called once per frame void Update() { m_health.Update(); m_movement.Update(); m_groundDetection.Update(); }
private void Update() { float health = Mathf.Floor(ph.Update()); healthText.text = health.ToString(); }