少年修仙传客户端代码仓库
client_Zxw
2018-09-21 9b0bc3bddda6c82ea6f466bd04bf858d324af25b
System/WorldMap/LocalMapFindPath.cs
@@ -27,7 +27,7 @@
        private List<GameObject> pathNodeBehaviours = new List<GameObject>(); //寻路点池
        List<LocalMapTag> tagBehaviours = new List<LocalMapTag>();
        MapModel model { get { return  ModelCenter.Instance.GetModel<MapModel>(); } }
        MapModel model { get { return ModelCenter.Instance.GetModel<MapModel>(); } }
        int mapId = 0;
        public void Init(int _mapId)
@@ -42,7 +42,7 @@
            mapId = _mapId;
            var tagChinMap = Config.Instance.Get<MapConfig>(mapId);
            var mapResConfig = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig();
            var mapResConfig = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig(mapId, 0);
            var mapWidth = mapResConfig.MapScale.x;
            var mapHeight = mapResConfig.MapScale.y;