public void AddBomb(Bomb bomb) { for (int i = 0; i < 20; i++) { bombs.AddItem(bomb); } bombCountText.text = "X" + bombs.GetItems().Count(); bombQty = bombs.GetItems().Count(); }
public void AddRupee(Rupee rupee) { rupees.AddItem(rupee); rupeeCountText.text = "X" + rupees.GetItems().Count(); }
public void AddKey(Key key) { keys.AddItem(key); keyCountText.text = "X" + keys.GetItems().Count(); }