How can I make a blank text file in the current unity directory using c#?
There are lots of ways, but this might be the simplest…
string file = Path.Combine(GetCurrentDirectory(), "myfile.txt");
using (File.Create(file));
Note, you’ll need to add a “using File.IO;” to the top of the file…