SafetyAreaInfo.cs 760 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. [Serializable]
  5. public class SafetyAreaInfo
  6. {
  7. public SafetyAreaInfo()
  8. {
  9. safetyAreaName = string.Empty;
  10. showAreaWhenBowHead = false;
  11. originAlphaParam = 0f;
  12. originSafetyAreaColorIndex = 0;
  13. originHeight = 0f;
  14. }
  15. public string safetyAreaName;
  16. public Vector3 position;
  17. public List<Vector3> vertices;
  18. public List<int> triangles;
  19. public List<Vector2> uv;
  20. public float originHeight;
  21. public float perimeter;
  22. //playarea
  23. public List<Color> colors;
  24. //stationaryArea
  25. public float radius;
  26. public bool showAreaWhenBowHead;
  27. public float originAlphaParam;
  28. public int originSafetyAreaColorIndex;
  29. }