Esempio n. 1
0
 void Start()
 {
     if (bm == null)
     {
         bm = Babies.babyMerchantDict [babyMerchantName];
     }
     GetComponentInChildren <Exit> ().GetComponent <Button> ().onClick.AddListener(Exit);
     GetComponentInChildren <Trade> ().GetComponent <Button> ().onClick.AddListener(merchantMenu);
 }
Esempio n. 2
0
 public void eatBaby(BabyMerchant bm)
 {
     MartinisPrice = bm.MartinisPrice;
     RecordsPrice  = bm.RecordsPrice;
     PhonesPrice   = bm.PhonesPrice;
     SodaPrice     = bm.SodaPrice;
     JewelryPrice  = bm.JewelryPrice;
     HooversPrice  = bm.HooversPrice;
 }