Beispiel #1
0
 public void Awake()
 {
     bos            = BuyItem;
     itemDisplay    = this.GetComponent <Image>();
     inventoryPanel = InventoryPanel.instance;
     if (inventoryItem != null)
     {
         itemDisplay.sprite = inventoryItem.itemImage;
     }
     if (itemDisplay.sprite != null)
     {
         itemDisplay.color = Color.white;
     }
 }
Beispiel #2
0
 public void ShopPanel_Buying()
 {
     bos = BuyItem;
 }
Beispiel #3
0
 public void ShopPanel_Selling()
 {
     bos = SellItem;
 }