WriteSceneSerializedFile
Writes Scene objects to a serialized file on disk.
Read time 2 minutesLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Build.Content
- Assembly: UnityEditor.CoreModule
WriteSceneSerializedFile(string, WriteSceneParameters)
Writes Scene objects to a serialized file on disk.
public static WriteResult WriteSceneSerializedFile(string outputFolder, WriteSceneParameters parameters)
Parameters
The location to write the file to.
The set of parameters used to write the file.
Returns
Type | Description |
|---|---|
| WriteResult | The detailed results from writing the file. |
Remarks
Internal use only. See note on ContentBuildInterface.
WriteSceneSerializedFile(string, string, string, WriteCommand, BuildSettings, BuildUsageTagGlobal, BuildUsageTagSet, BuildReferenceMap)
Writes Scene objects to a serialized file on disk.
public static WriteResult WriteSceneSerializedFile(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap)
Parameters
The location to write the file to.
Returns
Type | Description |
|---|---|
| WriteResult | The detailed results from writing the file. |
Remarks
Internal use only. See note on ContentBuildInterface.
WriteSceneSerializedFile(string, string, string, WriteCommand, BuildSettings, BuildUsageTagGlobal, BuildUsageTagSet, BuildReferenceMap, PreloadInfo)
Writes Scene objects to a serialized file on disk.
public static WriteResult WriteSceneSerializedFile(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo)
Parameters
The location to write the file to.
Returns
Type | Description |
|---|---|
| WriteResult | The detailed results from writing the file. |
Remarks
Internal use only. See note on ContentBuildInterface.
WriteSceneSerializedFile(string, string, string, WriteCommand, BuildSettings, BuildUsageTagGlobal, BuildUsageTagSet, BuildReferenceMap, PreloadInfo, SceneBundleInfo)
Writes Scene objects to a serialized file on disk.
public static WriteResult WriteSceneSerializedFile(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo, SceneBundleInfo sceneBundleInfo)
Parameters
The location to write the file to.
Returns
Type | Description |
|---|---|
| WriteResult | The detailed results from writing the file. |
Remarks
Internal use only. See note on ContentBuildInterface.