This commit is contained in:
monitor1394
2022-05-22 22:17:38 +08:00
parent 003f4da9de
commit bafe032bb9
391 changed files with 3718 additions and 2774 deletions

View File

@@ -1,4 +1,3 @@
using UnityEngine;
using UnityEngine.UI;
using XUGL;
@@ -10,7 +9,7 @@ namespace XCharts.Runtime
[DisallowMultipleComponent]
public class ProgressBar : BaseChart
{
[SerializeField] [Range(0f, 1f)] private float m_Value = 0.5f;
[SerializeField][Range(0f, 1f)] private float m_Value = 0.5f;
[SerializeField] private Color m_BackgroundColor = new Color32(255, 233, 233, 255);
[SerializeField] private Color m_StartColor = Color.blue;
[SerializeField] private Color m_EndColor = Color.red;
@@ -34,7 +33,6 @@ namespace XCharts.Runtime
}
#endif
protected override void OnDrawPainterBase(VertexHelper vh, Painter painter)
{
vh.Clear();
@@ -50,4 +48,4 @@ namespace XCharts.Runtime
}
}
}
}