private void OnPlayerLocationChanged(PlayerLocationChangedEvent e)
        {
            GameObject playerLocationMarker;

            if (markers.TryGetValue(e.newLocation.id, out playerLocationMarker))
            {
                Transform label = playerLocationMarker.transform.Find("Label");
                label.GetComponent <Image>().color         = new Color(0.882f, 0.718f, 0.298f, 0.598f);
                label.GetComponent <Button>().interactable = false;
            }
        }
        void OnPlayerLocationChanged(PlayerLocationChangedEvent e)
        {
            Resources.UnloadUnusedAssets();

            Location location = e.newLocation;

            locationValue.text = string.Format("{0}, {1}", location.settlementName, location.country.name);

            string flagImagePath = string.Format("CountryFlags/Small/{0}", location.country.code);

            locationFlag.sprite = Resources.Load <Sprite>(flagImagePath);
        }