示例#1
0
 public void LoadLevel(int level)
 {
     Debug.Log("Load Level " + level, Array.Empty <object>());
     this.gridInfo = Map2DUtil.LoadMapData(level);
     this.DoAfterInit();
     this.OnLoadLevel(level, this.gridInfo);
 }
示例#2
0
        public static void LoadLevel(Grid grid, int level)
        {
            CheckLoadTileIDMap();
            GridInfo info = Map2DUtil.LoadMapData(level);

            BindMapView(grid, info);
        }