CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches

◆ Copy()

static Boolean Copy ( [NotNull] Path sourcePath,
[NotNull] Path destinationPath )
static

Copies an asset from source to destination path. Overwrites any existing assets.

Will create any missing destination folders automatically.

Parameters
sourcePathThe source asset to copy.
destinationPathPath to destination file.
Returns
True if copying succeeded, false if it failed. Use CodeSmileEditor.Asset.GetLastErrorMessage to get the failure message.
See also