Esempio n. 1
0
 void Update()
 {
     SelectedLocation.sprite = ListOfAvailableLocations [locationSpot].LocationMAINGraphic;
     LocationName.text       = ListOfAvailableLocations [locationSpot].NameOfLocation;
     Zone1.sprite            = ListOfAvailableLocations [locationSpot].Location1Graphic;
     Zone1Name.text          = ListOfAvailableLocations [locationSpot].Location1Name;
     Zone2.sprite            = ListOfAvailableLocations [locationSpot].Location2Graphic;
     Zone2Name.text          = ListOfAvailableLocations [locationSpot].Location2Name;
     Zone3.sprite            = ListOfAvailableLocations [locationSpot].Location3Graphic;
     Zone3Name.text          = ListOfAvailableLocations [locationSpot].Location3Name;
     SelectedLocationItem    = ListOfAvailableLocations [locationSpot];
 }
Esempio n. 2
0
 public void PreviousLocation()
 {
     if (locationSpot > 0)
     {
         locationSpot--;
         SelectedLocation.sprite = ListOfAvailableLocations [locationSpot].LocationMAINGraphic;
         LocationName.text       = ListOfAvailableLocations [locationSpot].NameOfLocation;
         Zone1.sprite            = ListOfAvailableLocations [locationSpot].Location1Graphic;
         Zone1Name.text          = ListOfAvailableLocations [locationSpot].Location1Name;
         Zone2.sprite            = ListOfAvailableLocations [locationSpot].Location2Graphic;
         Zone2Name.text          = ListOfAvailableLocations [locationSpot].Location2Name;
         Zone3.sprite            = ListOfAvailableLocations [locationSpot].Location3Graphic;
         Zone3Name.text          = ListOfAvailableLocations [locationSpot].Location3Name;
         SelectedLocationItem    = ListOfAvailableLocations [locationSpot];
     }
 }
Esempio n. 3
0
 public void NextLocation()
 {
     if (locationSpot < ListOfAvailableLocations.Count - 1)
     {
         locationSpot++;
         SelectedLocation.sprite = ListOfAvailableLocations [locationSpot].LocationMAINGraphic;
         LocationName.text       = ListOfAvailableLocations [locationSpot].NameOfLocation;
         Zone1.sprite            = ListOfAvailableLocations [locationSpot].Location1Graphic;
         Zone1Name.text          = ListOfAvailableLocations [locationSpot].Location1Name;
         Zone2.sprite            = ListOfAvailableLocations [locationSpot].Location2Graphic;
         Zone2Name.text          = ListOfAvailableLocations [locationSpot].Location2Name;
         Zone3.sprite            = ListOfAvailableLocations [locationSpot].Location3Graphic;
         Zone3Name.text          = ListOfAvailableLocations [locationSpot].Location3Name;
         SelectedLocationItem    = ListOfAvailableLocations [locationSpot];
     }
 }