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.
|
