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

◆ Trash() [3/4]

static Boolean Trash ( [NotNull] Object asset)
static

Moves an asset file or folder to the OS trash.

Similar to delete, but recoverable by user action. Does nothing if there is no file or folder at the given path.

Parameters
assetThe asset to trash.
Returns
True if the asset was trashed, false otherwise.
See also