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.LoadAllAssetRepresentationsAtPath 加载所在路径所有资源说明
static function LoadAllAssetRepresentationsAtPath (assetPath : String) : Object[]
Description描述
Returns all asset representations at assetPath.
返回assetPath所在路径的所有资源说明。
Asset representations are objects in the asset that are visible in the Project view. All paths are relative to the project folder. Like: "Assets/MyTextures/hello.png"
资源说明是资源在项目视图可见的物体。所有路径相对于项目文件夹。像“Assets/MyTextures/hello.png”。
参见:AssetDatabase.LoadMainAssetAtPath, AssetDatabase.LoadAssetAtPath, AssetDatabase.LoadAllAssetsAtPath
最后修改:2011年10月1日 Saturday 17:33