AssetDatabase.ImportPackage 导入包

static function ImportPackage (packagePath : string, interactive : bool) : void

Description描述

Imports package at packagePath into the current project.

将packagePath下的资源包导入到当前工程。

If interactive is true, an import package dialog will be opened, else all assets in the package will be imported into the current project.

如果interactive为true,那么导入资源对话框将会打开,否者打包中的所有资源将会被导入到当前的工程。

Page last updated: 2011-5-31