AssetDatabase.ValidateMoveAssetstatic function ValidateMoveAsset (oldPath : string, newPath : string) : stringParameters
Returnsstring - 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" DescriptionChecks if an asset file can be moved from one folder to another. (Without actually moving the file) See Also: AssetDatabase.MoveAsset
|
