16 [SerializeField]
protected float m_BorderWidth;
17 [SerializeField]
protected float m_DataLineWidth;
18 [SerializeField]
protected Color32 m_FillerColor;
19 [SerializeField]
protected Color32 m_BorderColor;
20 [SerializeField]
protected Color32 m_DataLineColor;
21 [SerializeField]
protected Color32 m_DataAreaColor;
22 [SerializeField]
protected Color32 m_BackgroundColor;
30 get {
return m_BorderWidth; }
31 set {
if (PropertyUtil.SetStruct(ref m_BorderWidth, value)) SetVerticesDirty(); }
39 get {
return m_DataLineWidth; }
40 set {
if (PropertyUtil.SetStruct(ref m_DataLineWidth, value)) SetVerticesDirty(); }
48 get {
return m_FillerColor; }
49 set {
if (PropertyUtil.SetColor(ref m_FillerColor, value)) SetVerticesDirty(); }
58 get {
return m_BorderColor; }
59 set {
if (PropertyUtil.SetColor(ref m_BorderColor, value)) SetComponentDirty(); }
67 get {
return m_DataLineColor; }
68 set {
if (PropertyUtil.SetColor(ref m_DataLineColor, value)) SetComponentDirty(); }
76 get {
return m_DataAreaColor; }
77 set {
if (PropertyUtil.SetColor(ref m_DataAreaColor, value)) SetComponentDirty(); }
85 get {
return m_BackgroundColor; }
86 set {
if (PropertyUtil.SetColor(ref m_BackgroundColor, value)) SetComponentDirty(); }
93 m_BackgroundColor = Color.clear;
97 m_TextColor = ColorUtil.GetColor(
"#333");
98 m_FillerColor =
new Color32(167, 183, 204, 110);
99 m_BorderColor = ColorUtil.GetColor(
"#ddd");
100 m_DataLineColor = ColorUtil.GetColor(
"#2f4554");
101 m_DataAreaColor =
new Color32(47, 69, 84, 85);
104 m_TextColor = ColorUtil.GetColor(
"#333");
105 m_FillerColor =
new Color32(167, 183, 204, 110);
106 m_BorderColor = ColorUtil.GetColor(
"#ddd");
107 m_DataLineColor = ColorUtil.GetColor(
"#2f4554");
108 m_DataAreaColor =
new Color32(47, 69, 84, 85);
111 m_TextColor = ColorUtil.GetColor(
"#B9B8CE");
112 m_FillerColor =
new Color32(135, 163, 206, (
byte)(0.2f * 255));
113 m_BorderColor = ColorUtil.GetColor(
"#71708A");
114 m_DataLineColor = ColorUtil.GetColor(
"#71708A");
115 m_DataAreaColor = ColorUtil.GetColor(
"#71708A");
120 public void Copy(DataZoomTheme theme)
123 m_BorderWidth = theme.borderWidth;
124 m_DataLineWidth = theme.dataLineWidth;
125 m_FillerColor = theme.fillerColor;
126 m_BorderColor = theme.borderColor;
127 m_DataLineColor = theme.dataLineColor;
128 m_DataAreaColor = theme.dataAreaColor;
129 m_BackgroundColor = theme.backgroundColor;