AssetDatabase
- AddObjectToAsset
- AssetPathToGUID
- ClearLabels
- CompleteLabel
- Contains
- CopyAsset
- CreateAsset
- CreateFolder
- DeleteAsset
- ExportPackage
- GenerateUniqueAssetPath
- GetAssetPath
- GetCachedIcon
- GetDependencies
- GetLabels
- GetTextMetaDataPathFromA...
- GUIDToAssetPath
- ImportAsset
- ImportPackage
- IsMainAsset
- LoadAllAssetRepresentations...
- LoadAllAssetsAtPath
- LoadAssetAtPath
- LoadMainAssetAtPath
- MoveAssetToTrash
- MoveAsset
- OpenAsset
- Refresh
- RenameAsset
- SaveAssets
- SetLabels
- StartAssetEditing
- StopAssetEditing
- ValidateMoveAsset
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,那么导入资源对话框将会打开,否者打包中的所有资源将会被导入到当前的工程。
最后修改:2011年5月31日 Tuesday 15:29