Пример #1
0
 public void SetTileSet(TileSet tileSet)
 {
     if (tileSet != null)
     {
         this.tileSet = tileSet;
         TileSetName = this.tileSet.Name;
         OnWizardUpdate();
     }
 }
Пример #2
0
 public void AddTileSet()
 {
     Undo.RecordObject(tileSetManager, null);
     TileSet tileSet = new TileSet();
     tileSetManager.TileSets.Add(tileSet);
     selectedTileSet = tileSetManager.TileSets.Count - 1;
 }