public static void SellItems() { foreach (var item in ItemArray) { if (item.itemCount > 0) { item.itemCount--; GameStatPanelControler.AddStoreIncomeToGameStats(item.sellPrice); } } }
//just changes something here public void s() { GameStatPanelControler.AddStoreIncomeToGameStats(1); }