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.GenerateUniqueAssetPath 生成唯一资源路径
static function GenerateUniqueAssetPath (path : string) : string
Description描述
Creates a new unique path for an asset.
给一个资源创建一个新的唯一路径。
All paths are relative to the project folder. Like: "Assets/MyTextures/hello.png"
所有的路径都是相对于工程文件夹的,例如”Assets/MyTextures/hello.png”
最后修改:2011年5月31日 Tuesday 13:57