调整大地图的光
This commit is contained in:
1 parent
7b4fbc513e
commit
44abc5ded1
4 files changed
+10
-10
No files matched your search
@@ -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(() =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user