DirectoryRename Method |
Renames (move) the from file to the to destination. Both arguments should be paths to files, either relative or absolute. If the destination file exists and is not access-protected, it will be overwritten.
Returns one of the Error code constants (OK on success).
Namespace: Godot
public Error Rename( string from, string to )
[Missing <param name="from"/> documentation for "M:Godot.Directory.Rename(System.String,System.String)"]
[Missing <param name="to"/> documentation for "M:Godot.Directory.Rename(System.String,System.String)"]
[Missing <returns> documentation for "M:Godot.Directory.Rename(System.String,System.String)"]