ExportPackageOptions Enumeration

Export package option. Multiple options can be combined together using the | operator.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

See Also: AssetDatabase.ExportPackage.

Values
Default

Default mode. Will not include dependencies or subdirectories nor include Library assets unless specifically included in the asset list.

Interactive

The export operation will be run asynchronously and reveal the exported package file in a file browser window after the export is finished.

Recurse

Will recurse through any subdirectories listed and include all assets inside them.

IncludeDependencies

In addition to the assets paths listed, all dependent assets will be included as well.

IncludeLibraryAssets

The exported package will include all library assets, ie. the project settings located in the Library folder of the project.