Exemplo n.º 1
0
 void SellItem()
 {
     sellPanel           = FindObjectOfType <SellBtns_Panel>();
     gameContoller.gems += price;
     gameContoller.ChangeScore();
     playerInventory.Del_Item(gameObject);
     sellPanel.ResetProducts();
     sellPanel.SetItems();
 }