GlobalConfig.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using UnityEngine;
  5. public static class GlobalConfig
  6. {
  7. /// <summary>
  8. /// 点击选择的设备
  9. /// </summary>
  10. public static string m_SelectDevice;
  11. /// <summary>
  12. /// 视频根路径
  13. /// </summary>
  14. public static string videoPath = Path.Combine(Application.streamingAssetsPath,"Config","Videos");
  15. /// <summary>
  16. /// 音频根路径
  17. /// </summary>
  18. public static string audioPath = Path.Combine(Application.streamingAssetsPath, "Config", "Audios");
  19. /// <summary>
  20. /// 图片根路径
  21. /// </summary>
  22. public static string picturePath = Path.Combine(Application.streamingAssetsPath, "Config", "Pictures");
  23. /// <summary>
  24. /// 流程配置表根路径
  25. /// </summary>
  26. public static string operateTablePath = Path.Combine(Application.streamingAssetsPath, "Config", "流程配置");
  27. /// <summary>
  28. /// 工具配置表根路径
  29. /// </summary>
  30. public static string toolConfigTablePath = Path.Combine(Application.streamingAssetsPath, "Config", "工具配置");
  31. /// <summary>
  32. /// 缺陷配置表根目录
  33. /// </summary>
  34. public static string faultTablePath = Path.Combine(Application.streamingAssetsPath, "Config", "缺陷配置");
  35. /// <summary>
  36. /// 表格后缀
  37. /// </summary>
  38. public static string excelSuffix = ".xlsx";
  39. }