public void GetHurt() { if (bonuses.Count > 0) { int bonusToRemoveInd = Random.Range(0, Bonuses.Count); Destroy(Bonuses[bonusToRemoveInd]); Bonuses.RemoveAt(bonusToRemoveInd); } else { Die(); } }