调整大地图的光

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

View File

@ -641,7 +641,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!108 &873388894
Light:
m_ObjectHideFlags: 0
@ -649,11 +649,11 @@ Light:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 873388893}
m_Enabled: 0
m_Enabled: 1
serializedVersion: 10
m_Type: 1
m_Shape: 0
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
m_Color: {r: 1, g: 0.9764706, b: 0.5411765, a: 1}
m_Intensity: 1
m_Range: 10
m_SpotAngle: 30
@ -688,7 +688,7 @@ Light:
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_RenderMode: 2
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295

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)
{

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";

View File

@ -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(() =>
{