文档

Unity Engine

Unity Engine

ExportPackageOptions

Export package option. Multiple options can be combined together using the | operator.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
[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.