Exemplo n.º 1
0
 public void ChangeWorld(byte id)
 {
     if (dt.PurchasedLocation[id] == true)
     {
         CurrentWorld = (CurrentMine)id;
         print((CurrentMine)id);
         MineObj.GetComponent <Image>().sprite = BackGroundImages[id];
         switch (CurrentWorld)
         {
         }
     }
     else
     {
         BuyNewWorld(id);
     }
 }
Exemplo n.º 2
0
 private void Start()
 {
     CurrentWorld = CurrentMine.Standart;
     dt           = GetComponent <DataManager>();
     MineObj.GetComponent <Image>().sprite = BackGroundImages[9];
 }