Beispiel #1
0
 public void OnBuyButtonClick()
 {
     AudioManager.Instance.Buy();
     GameManager.Instance.OnCashChanged(-stockData.BuyShares(buttonPriceModifier == 0 ? stockData.MaxSharesForPrice(GameManager.Instance.Cash) : buttonPriceModifier));
     marketPanel.OnMarketRowChanged();
 }