示例#1
0
    static LevelBuilder()
    {
        Palette.LoadPalette(0);
        var dt1 = DT1.Load(Application.streamingAssetsPath + "/ds1edit.dt1", mpq: false);

        specialTiles.Add(dt1.tiles);
    }
示例#2
0
        static LevelBuilder()
        {
            var palette = Palette.GetPalette(PaletteType.Act1);
            var dt1     = DT1.Load(Application.streamingAssetsPath + "/ds1edit.dt1", palette, mpq: false);

            specialTiles.Add(dt1.tiles);
        }
示例#3
0
 private void InitTileSampler()
 {
     tileSampler = new DT1.Sampler();
     if (info != null)
     {
         foreach (var dt1Filename in info.type.dt1Files)
         {
             var dt1 = DT1.Load(dt1Filename);
             tileSampler.Add(dt1.tiles);
         }
     }
 }