Version: 2019.1
public static bool MoveAssetToTrash (string path);

説明

アセットをごみ箱に入れます。

Returns true if the asset has been successfully removed, false if it doesn't exist or couldn't be moved to the trash. All paths are relative to the project folder, for example: "Assets/MyTextures/hello.png" See Also: AssetDatabase.DeleteAsset.