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