Exemplo n.º 1
0
 /// <summary>
 /// Saves descriptor table to xml file
 /// </summary>
 /// <param name="table"></param>
 /// <param name="path"></param>
 public static void Save(AssetCollection table, string path, string domain = null)
 {
     Misc.SaveObjectToXml(table, typeof(AssetCollection), path, Asset.GatherAssetTypes());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates instance of BuildContext
 /// </summary>
 /// <param name="contentFolder"></param>
 internal BuildContext(string contentFolder, string targetFolder, AssetCollection assetCollection)
 {
     this.contentFolder   = contentFolder;
     this.targetFolder    = targetFolder;
     this.assetCollection = assetCollection;
 }