Example #1
0
 static extern WriteResult WriteSceneSerializedFile_Internal(string outputFolder, string scenePath, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo, SceneBundleInfo sceneBundleInfo);
Example #2
0
 extern private static WriteResult WriteSceneSerializedFileAssetBundle(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo, SceneBundleInfo sceneBundleInfo);
 public static WriteResult WriteSceneSerializedFile(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo, SceneBundleInfo sceneBundleInfo)
 {
     return(WriteSceneSerializedFile(outputFolder, new WriteSceneParameters
     {
         scenePath = scenePath,
         writeCommand = writeCommand,
         settings = settings,
         globalUsage = globalUsage,
         usageSet = usageSet,
         referenceMap = referenceMap,
         preloadInfo = preloadInfo,
         sceneBundleInfo = sceneBundleInfo
     }));
 }
Example #4
0
 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));
 }
 static extern WriteResult WriteSceneSerializedFilePlayerData(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo);