public void SetTileSet(TileSet tileSet) { if (tileSet != null) { this.tileSet = tileSet; TileSetName = this.tileSet.Name; OnWizardUpdate(); } }
public void AddTileSet() { Undo.RecordObject(tileSetManager, null); TileSet tileSet = new TileSet(); tileSetManager.TileSets.Add(tileSet); selectedTileSet = tileSetManager.TileSets.Count - 1; }