调整大地图的光

This commit is contained in:
suntao committed 2021-04-29 22:14:17 +08:00
1 parent 7b4fbc513e
commit 44abc5ded1
4 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -253,7 +253,7 @@ namespace Assets.Scripts.Apis
//}
var request = (HttpWebRequest)WebRequest.Create(ConfigHelper.Host + url);
request.UserAgent = httpClient.DefaultRequestHeaders.UserAgent.ToString();
request.Headers.Add("Language", "Zh-cn");
request.Headers.Add("Language", "en");
request.CookieContainer = new CookieContainer();
foreach (Cookie item in cookies)
{
+1 -1
View File
@@ -7,7 +7,7 @@ using UnityEngine;
public static class App
{
public static string Host = "http://192.168.0.101:5082/";
public static string Host = "http://192.168.0.97:5082/";
public static string AppVersion = "1.0.0";
@@ -75,7 +75,7 @@ public class BigMapController : PFUIPanel
mapManager.OnUpdated += MapManager_OnUpdated;
//// mapManager.OnTileFinished += MapManager_OnTileFinished;
mapManager.SetZoom(7);
mapManager.SetZoom(5.8f);
//mapManager.SetCenterLatitudeLongitude(new Mapbox.Utils.Vector2d(32.051203, 118.771572));
this.transform.Find("Map").GetComponent<QuadTreeCameraMovement>()._referenceCamera = Camera.main;
@@ -179,12 +179,12 @@ public class BigMapController : PFUIPanel
}
private void MapManager_OnUpdated()
{
Debug.Log("update");
Debug.Log("update "+ mapManager.Zoom);
if(mapManager.Zoom <= 6)
if(mapManager.Zoom <= 4.8)
{
mapManager.OnUpdated -= MapManager_OnUpdated;
maskImage.gameObject.SetActive(true);
maskImage.DOFade(1f, 0.9f).SetEase(Ease.InSine).OnComplete(() =>
{