Beispiel #1
0
 public void RetrieveProduct()
 {
     if (currentIndex.Length > 0)
     {
         inventory.AddProductToInventory(GameObject.Find(currentIndex));
         glassware.sprite          = originalSprite;
         solid.color               = new Color32(255, 255, 255, 0);
         liquid.color              = new Color32(255, 255, 255, 0);
         currentIndex              = "";
         verifyButton.interactable = false;
     }
     else
     {
         gameController.sendAlert("Não há nenhum produto");
     }
 }