설명 없음
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CommentMarkStyle.cs 912B

123456789101112131415161718192021222324252627
  1. using System;
  2. using UnityEngine;
  3. namespace XCharts.Runtime
  4. {
  5. /// <summary>
  6. /// the comment mark style.
  7. /// |注解项区域样式。
  8. /// </summary>
  9. [Serializable]
  10. public class CommentMarkStyle : ChildComponent
  11. {
  12. [SerializeField] private bool m_Show = true;
  13. [SerializeField] private LineStyle m_LineStyle;
  14. /// <summary>
  15. /// Set this to false to prevent this comment item from showing.
  16. /// |是否显示当前注解项。
  17. /// </summary>
  18. public bool show { get { return m_Show; } set { if (PropertyUtil.SetStruct(ref m_Show, value)) SetVerticesDirty(); } }
  19. /// <summary>
  20. /// line style of comment mark area.
  21. /// |线条样式。
  22. /// </summary>
  23. public LineStyle lineStyle { get { return m_LineStyle; } set { if (PropertyUtil.SetClass(ref m_LineStyle, value)) SetVerticesDirty(); } }
  24. }
  25. }