文档

Unity Engine

Unity Engine

Delete(string)

Deletes the specified file.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static void Delete(string path)

Parameters

path

The name of the file to be deleted.

Remarks

If the specified file doesn't exist, this method does nothing and doesn't throw an exception.
Note: This method is available only on the Universal Windows Platform. On other platforms, use the .NET
System.IO.File.Delete
method instead.