AssetDatabase.MoveAssetstatic function MoveAsset (oldPath : String, newPath : String) : StringParameters
ReturnsString - an empty string, if the asset has been successfully moved, and an error string otherwise. All paths are relative to the project folder. Like: "Assets/MyTextures/hello.png" DescriptionMove an asset file from one folder to another.
|
