Version: 2021.3
LanguageEnglish
  • C#

WriteParameters

struct in UnityEditor.Build.Content

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

This struct collects all the WriteSerializedFile parameters in to a single place.

Properties

bundleInfoOptional Parameter used when writing a serialized file for an Asset Bundle.
globalUsageThe global lighting information to use when writing the serialized file.
preloadInfoThe set of external object dependencies that need to be loaded when loading the resulting serialized file.
referenceMapThe set of external objects that can be referenced by this serialized file.
settingsThe settings to use when writing the serialized file.
usageSetThe the texture, material, mesh, and shader usage tags to use when writing the serialized file.
writeCommandThe struct of internal file name, list of objects, and order of objects to use when writing the serialized file.