i came across a this bit of code on uity3d.com but it does not work at all .
static function CopyAFile () {
// copies the file "YourFileOrFolder" from "path/" to "copy/path/"
FileUtil.CopyFileOrDirectory ("path/YourFileOrFolder", "copy/path/YourFileOrFolder");
}
it should copy a file from one directory to another but i aways get this error.
The name `FileUtil’ does not exist in the current context
The name `CopyFileOrDirectory’ does not exist in the current context
Same Problem error CS0103: The name `FileUtil' does not exist in the current context
– sndsh07