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.
注意:这是一个编辑器类,如果想使用它你需要把它放到工程目录下的Assets/Editor文件夹下。编辑器类在UnityEditor命名空间下。所以当使用C#脚本时,你需要在脚本前面加上 "using UnityEditor"引用。
参见:AssetDatabase.ExportPackage.
Values值
-
Default mode. Will not include dependencies or subdirectories nor include Library assets unless specifically included in the asset list.
默认模式。将不包括依赖关系或子目录,也不包括库资源,除非特别列入资源清单。 -
The export operation will be run asynchronously and reveal the exported package file in a file browser window after the export is finished.
导出操作将异步运行,在导出完成之后在文件浏览窗口显示导出包文件。 -
Will recurse through any subdirectories listed and include all assets inside them.
将通过任何子目录列表递归并包含所有资源。 -
In addition to the assets paths listed, all dependent assets will be included as well.
除了列出的资产路径,所有相关资产将被包括在内。 -
The exported package will include all library assets, ie. the project settings located in the Library folder of the project.
导出包将包含作用库资源,即,项目设置位于项目的库(Library)文件夹。
最后修改:2011年7月18日 Monday 14:32