## 本项目包含了: 1.unity的日志记录 2.将文件上传到指定地址,包括但不限制日志记录的文件 *3.随机文件Key值生成(加解密未处理) 设计之初是让玩家上传本地的错误日志方便查错,因为程序进程崩了来不及上传,可酌情处理后台自动上传频率 * * 项目添加了CDebug,方便统一管理打印,需要程序添加宏控制ENABLE_LOG_INFO # 1 markdown语法 ## 2 ### 3 #### 4 ##### 5 12312312 ``` public static string GetPlatformPath() ``` 12312312 public static string GetPlatformPath() { // ReSharper disable once SwitchStatementHandlesSomeKnownEnumValuesWithDefault switch (Application.platform) { case RuntimePlatform.Android: return "Android"; case RuntimePlatform.IPhonePlayer: return "iOS"; case RuntimePlatform.WindowsPlayer: return "Windows"; default: return $"OtherType: {Application.platform}"; } }