Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WriteSceneSerializedFile

Writes Scene objects to a serialized file on disk.
Read time 2 minutesLast updated 12 days ago

Definition

WriteSceneSerializedFile(string, WriteSceneParameters)

Writes Scene objects to a serialized file on disk.
public static WriteResult WriteSceneSerializedFile(string outputFolder, WriteSceneParameters parameters)

Parameters

outputFolder

The location to write the file to.

The set of parameters used to write the file.

Returns

Type

Description

WriteResultThe 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.
Warning
Removed. ContentBuildInterface.WriteSceneSerializedFile has been deprecated. Use ContentBuildInterface.WriteSceneSerializedFile instead
public static WriteResult WriteSceneSerializedFile(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap)

Parameters

outputFolder

The location to write the file to.

scenePath


processedScene


writeCommand





referenceMap

Returns

Type

Description

WriteResultThe 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.
Warning
Removed. ContentBuildInterface.WriteSceneSerializedFile has been deprecated. Use ContentBuildInterface.WriteSceneSerializedFile with WriteParameters instead
public static WriteResult WriteSceneSerializedFile(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo)

Parameters

outputFolder

The location to write the file to.

scenePath


processedScene


writeCommand





referenceMap


preloadInfo

Returns

Type

Description

WriteResultThe 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.
Warning
Removed. ContentBuildInterface.WriteSceneSerializedFile has been deprecated. Use ContentBuildInterface.WriteSceneSerializedFile with WriteSceneParameters instead
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

outputFolder

The location to write the file to.

scenePath


processedScene


writeCommand





referenceMap


preloadInfo


sceneBundleInfo

Returns

Type

Description

WriteResultThe detailed results from writing the file.

Remarks

Internal use only. See note on ContentBuildInterface.