Name | Description |
---|---|
oldPath | the path where the asset currently resides |
newPath | the path which the asset should be moved to |
String - an empty string, if the asset can be moved, and an error string otherwise. All paths are relative to the project folder. Like: "Assets/MyTextures/hello.png"
Checks if an asset file can be moved from one folder to another. (Without actually moving the file)
See Also: AssetDatabase.MoveAsset