예제 #1
0
 public static void Write(string path, string contents)
 {
     #if UNITY_WINRT && !UNITY_EDITOR
     byte[] bytes = System.Text.Encoding.UTF8.GetBytes(contents);
     File.WriteAllBytes(path, bytes);
     #else
     File.WriteAllText(path, contents);
     #endif
 }