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