static extern WriteResult WriteSceneSerializedFileRaw(string outputFolder, string scenePath, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap);
 static extern WriteResult WriteSerializedFileAssetBundle(string outputFolder, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, AssetBundleInfo bundleInfo);
 static extern WriteResult WriteSceneSerializedFileAssetBundle(string outputFolder, string scenePath, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo, SceneBundleInfo sceneBundleInfo);
 extern private static WriteResult WriteSceneSerializedFilePlayerData(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo);
 public static WriteResult WriteSceneSerializedFile(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo, SceneBundleInfo sceneBundleInfo)
 {
     if (IsBuildInProgress())
     {
         throw new InvalidOperationException("Cannot call WriteSceneSerializedFile while a build is in progress");
     }
     if (string.IsNullOrEmpty(outputFolder))
     {
         throw new ArgumentException("String is null or empty.", "outputFolder");
     }
     if (string.IsNullOrEmpty(scenePath))
     {
         throw new ArgumentException("String is null or empty.", "scenePath");
     }
     if (string.IsNullOrEmpty(processedScene))
     {
         throw new ArgumentException("String is null or empty.", "processedScene");
     }
     if (!File.Exists(processedScene))
     {
         throw new ArgumentException(string.Format("File '{0}' does not exist.", processedScene), "processedScene");
     }
     if (writeCommand == null)
     {
         throw new ArgumentNullException("writeCommand");
     }
     if (referenceMap == null)
     {
         throw new ArgumentNullException("referenceMap");
     }
     if (preloadInfo == null)
     {
         throw new ArgumentNullException("preloadInfo");
     }
     if (sceneBundleInfo == null)
     {
         throw new ArgumentNullException("sceneBundleInfo");
     }
     return(WriteSceneSerializedFileAssetBundle(outputFolder, scenePath, processedScene, writeCommand, settings, globalUsage, usageSet, referenceMap, preloadInfo, sceneBundleInfo));
 }
 public static WriteResult WriteSerializedFile(string outputFolder, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, AssetBundleInfo bundleInfo)
 {
     if (IsBuildInProgress())
     {
         throw new InvalidOperationException("Cannot call WriteSerializedFile while a build is in progress");
     }
     if (string.IsNullOrEmpty(outputFolder))
     {
         throw new ArgumentException("String is null or empty.", "outputFolder");
     }
     if (writeCommand == null)
     {
         throw new ArgumentNullException("writeCommand");
     }
     if (referenceMap == null)
     {
         throw new ArgumentNullException("referenceMap");
     }
     if (bundleInfo == null)
     {
         throw new ArgumentNullException("bundleInfo");
     }
     return(WriteSerializedFileAssetBundle(outputFolder, writeCommand, settings, globalUsage, usageSet, referenceMap, bundleInfo));
 }