Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
        public static void LoadLevel(Grid grid, int level)
        {
            CheckLoadTileIDMap();
            GridInfo info = Map2DUtil.LoadMapData(level);

            BindMapView(grid, info);
        }