Ejemplo n.º 1
0
 private void InteractWithDrink(Drink drink)
 {
     //Turn UI on with drink drinkMame
     uiManager.UpdateInteractableText(drink.drinkName + ": $" + drink.cost.ToString());
     if (CheckInteractionInput() == false)
     {
         return;
     }
     if (gameManager.points >= drink.cost)
     {
         drink.Buy(this);
     }
 }