|
Name | Description |
---|---|
pathName | the path where the asset currently resides |
newName | the new name which should be given to the asset. |
String - 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"
Rename an asset file.