Exemple #1
0
 public void Start()
 {
     if (!started)
     {
         started      = true;
         display      = GetComponent <IngredientSelectedDisplay>();
         moneyLibrary = LibraryManager.instance.get <MoneyLibrary>();
         ingredientInventoryLibrary = LibraryManager.instance.get <IngredientInventoryLibrary>();
         buyButton.clicked         += buyItem;
         moneyLibrary.moneyChanged += updateEnableBuyButton;
     }
 }