public void ResetPlayerHealth() { if (healthPieceCount == maxHealthPieces) { m_playerScript.AddHealthToPlayer(); healthPieceCount = 0; _healthPieceButton.UpdateFillCount((float)healthPieceCount / (float)maxHealthPieces); } }