Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ExportPackageOptions

Export package option. Multiple options can be combined together using the | operator.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
[Flags]public enum ExportPackageOptions

Remarks

Additional Resources: AssetDatabase.ExportPackage.

Fields

Value

Description

DefaultDefault mode. Will not include dependencies or subdirectories nor include Library assets unless specifically included in the asset list.
IncludeDependenciesIn addition to the assets paths listed, all dependent assets will be included as well.
IncludeLibraryAssetsThe exported package will include all library assets, ie. the project settings located in the Library folder of the project.
InteractiveThe export operation will be run asynchronously and reveal the exported package file in a file browser window after the export is finished.
RecurseWill recurse through any subdirectories listed and include all assets inside them.