public void ActivatePlayerShield() { if (this.shieldKillCount >= this.maxShieldKillCount) { m_playerScript.ActivateShield(); this.shieldKillCount = 0; _shieldButton.UpdateFillCount((float)shieldKillCount / (float)maxShieldKillCount); } }