Example #1
0
 private Asset CreateManifestContentAsset()
 {
     IsManifestOnly = true;
     var result = new Asset(_loader, File);
     result.Content = Content;
     result.ProcessContent();
     return result;
 }
Example #2
0
 private void ForAssetTree(Asset root, Action<Asset> action)
 {
     if (!root.IsManifestOnly)
     {
         action(root);
     }
     foreach (var item in root.Children)
     {
         ForAssetTree(item, action);
     }
 }