9 using System.Collections.Generic;
17 [SerializeField]
private Color32 m_BarBackgroundColor;
19 private List<StageColor> m_StageColor =
new List<StageColor>()
21 new StageColor(0.2f,
new Color32(145,199,174,255)),
22 new StageColor(0.8f,
new Color32(99,134,158,255)),
23 new StageColor(1.0f,
new Color32(194,53,49,255)),
28 public Color32
barBackgroundColor {
get {
return m_BarBackgroundColor; }
set { m_BarBackgroundColor = value; } }
32 public List<StageColor>
stageColor {
get {
return m_StageColor; }
set { m_StageColor = value; } }
42 m_SplitLineColor = Color.white;
43 m_TickColor = Color.white;
47 m_BarBackgroundColor =
new Color32(200, 200, 200, 255);
48 m_StageColor =
new List<StageColor>()
50 new StageColor(0.2f,
new Color32(145,199,174,255)),
51 new StageColor(0.8f,
new Color32(99,134,158,255)),
52 new StageColor(1.0f,
new Color32(194,53,49,255)),
56 m_BarBackgroundColor =
new Color32(200, 200, 200, 255);
57 m_StageColor =
new List<StageColor>()
59 new StageColor(0.2f,
new Color32(145,199,174,255)),
60 new StageColor(0.8f,
new Color32(99,134,158,255)),
61 new StageColor(1.0f,
new Color32(194,53,49,255)),
65 m_BarBackgroundColor =
new Color32(200, 200, 200, 255);
66 m_StageColor =
new List<StageColor>()
68 new StageColor(0.2f,
new Color32(145,199,174,255)),
69 new StageColor(0.8f,
new Color32(99,134,158,255)),
70 new StageColor(1.0f,
new Color32(194,53,49,255)),
76 public void Copy(GaugeAxisTheme theme)
79 m_BarBackgroundColor = theme.barBackgroundColor;
80 ChartHelper.CopyList(m_StageColor, theme.stageColor);