摘要:
1 using System; 2 using System.Text; 3 using System.IO; 4 using System.Runtime.InteropServices; 5 6 public class IniFile{ 7 public string path; 8 9 [DllImport("kernel32")]//返回0表示失败,非0为成功10 private static extern long WritePrivateProfileString(string section, string key, 11 ... 阅读全文
摘要:
The height is 2 * size, and the width is height * aspect. You can calculate them with these instructions:var height = 2*Camera.main.orthographicSize;var width = height*Camera.main.aspect;http://answers.unity3d.com/questions/174002/what-is-the-relationship-between-camera-size-units.html 阅读全文