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.GetDependencies 获取相关资源列表
static function GetDependencies (pathNames : string[]) : string[]
Description描述
Given an asset pathName, returns the list of all assets it depends on.
已知资源pathName,返回与它有依赖关系的所有资源列表。
The list returned will also include the input path name itself. Given an array of pathNames, returns the list of all assets that the assets depend on. The list returned will also include the input guid themselves.
列表也将会包含输入的路径名本身,已知数组pathNames,返回该资源所以来的所有资源列表。这个返回的列表也将包含输入的guid标识符本身。
最后修改:2011年5月31日 Tuesday 15:24