AssetDatabase.MoveAsset

static function MoveAsset (oldPath : String, newPath : String) : String

Parameters

NameDescription
oldPath The path where the asset currently resides.
newPath The path which the asset should be moved to.

Returns

String - An empty string, if the asset has been successfully moved, and an error string otherwise.

Description

Move an asset file from one folder to another.