AssetDatabase.RenameAssetstatic function RenameAsset (pathName : String, newName : String) : StringParameters
ReturnsString - an empty string, if the asset has been successfully renamed, and an error string otherwise. All paths are relative to the project folder. Like: "Assets/MyTextures/hello.png" DescriptionRename an asset file.
|
