Exemplo n.º 1
0
 void AddToPlate()
 {
     if (plate.isPlateEmpty())
     {
         Destroy(VegetablesInventoryHolder.GetChild(0).gameObject);
         plate.AddVegToPlate(vegetableInventory[0], VegetableSprites[vegetableInventory[0]]);
         vegetableInventory.RemoveAt(0);
     }
 }