PlayAreaConstant.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class PlayAreaConstant
  5. {
  6. /// <summary>
  7. /// 笔刷大小
  8. /// </summary>
  9. public const float BRUSH_SIZE = 0.24f;
  10. /// <summary>
  11. /// 网格线之间间距
  12. /// </summary>
  13. public const float CELL_SIZE = 0.08f;
  14. /// <summary>
  15. /// 网格线个数
  16. /// </summary>
  17. public const int GRID_SIZE = 100;
  18. /// <summary>
  19. /// 默认离头部高度
  20. /// </summary>
  21. public const float DEFAULT_HEIGHT_FROM_HEAD = 0f;
  22. /// <summary>
  23. /// 原地区域半径
  24. /// </summary>
  25. public const float STATIONARY_AREA_RADIUS = 1.5f;
  26. /// <summary>
  27. /// 原地区域分割份数
  28. /// </summary>
  29. public const int CYLINDER_SPLIT_COUNT = 20;
  30. /// <summary>
  31. /// 低头角度
  32. /// </summary>
  33. public const float HEAD_BOW_ANGLE = 45f;
  34. /// <summary>
  35. /// 安全区域高度
  36. /// </summary>
  37. public const float SAFETY_AREA_HEIGHT = 2.5f;
  38. /// <summary>
  39. /// 游戏区域名称
  40. /// </summary>
  41. public const string PLAY_AREA_NAME = "PlayArea";
  42. /// <summary>
  43. /// 原地区域名称
  44. /// </summary>
  45. public const string STATIONARY_NAME = "StationaryArea";
  46. /// <summary>
  47. /// 本地保存文件路径+名称
  48. /// </summary>
  49. public const string SAVE_FILE_NAME = "/sdcard/SafetyArea.txt";
  50. }