title: IOException: Sharing Violation when attempting to modify a file in the Assets folder
body: <p>In one of my controllers (built for controlling time), I have the code set to save the current time of day as an integer between 0 and 2 in a text file in the Assets folder. However, in runtime when it tries to execute, it throws <code>IOException: Sharing violation</code> when I try to do so. Code:</p>
  
  <pre><code> File.Create(Application.dataPath + @"\Variables\TimeOfDay.txt");
   File.WriteAllText(Application.dataPath + @"\Variables\TimeOfDay.txt", timeOfDay.ToString());
  </code></pre>