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.ExportPackage 导出包
static function ExportPackage (assetPathName : string, fileName : string) : void
static function ExportPackage (assetPathName : string, fileName : string, flags : ExportPackageOptions) : void
static function ExportPackage (assetPathNames : string[], fileName : string, flags : ExportPackageOptions = ExportPackageOptions.Default) : void
Description描述
Exports the assets identified by assetPathNames to a unitypackage file in fileName.
导出assetPahtNames定义的资源到一个unitypackage里,并命名filename。
See Also: ExportPackageOptions for information on how you can affect what gets exported
最后修改:2011年5月31日 Tuesday 15:27