private void Update() { for (int j = 0; j < _LocationStrings.Length; j++) { List <GameObject> _spawnedObjects = _SpawnedObjects[j]; string[] _locationStrings = _LocationStrings[j]; float[] _heightArray = _HeightArray[j]; int count = _spawnedObjects.Count; for (int i = 0; i < count; i++) { float height = _heightArray[i]; var spawnedObject = _spawnedObjects[i]; if (spawnedObject.tag == "Bird") { //We don't want to update the position var location = Conversions.StringToLatLon(_locationStrings[i]); spawnedObject.transform.localPosition = _map.GeoToWorldPositionXYZ(location, height, true); spawnedObject.transform.localScale = new Vector3(Bird_SpawnScale, Bird_SpawnScale, Bird_SpawnScale); } /*else * { * //We don't want to update the position * var location = Conversions.StringToLatLon(_locationStrings[i]); * spawnedObject.transform.localPosition = _map.GeoToWorldPositionXYZ(location, height, true); * spawnedObject.transform.localScale = new Vector3(Point_SpawnScale, Point_SpawnScale, Point_SpawnScale); * }*/ } } }