public void StoreBlood() { _playerInv.UseBlood(StoreBloodAmount); StoredBlood += StoreBloodAmount; UpdateBloodBankUI(); PlayBuySound(); }
void FertilizBed() { if (!_fertilized) { _playerInv.UseBlood((int)_playerInv.FertilizeCost); _spriteRenderer.color = Color.red; _fertilzeLeft = _fertilizeUsage; _fertilizeText.text = _fertilzeLeft.ToString(); _fertilizeText.gameObject.SetActive(true); _fertilized = true; UpdateInfoText(); } }