Fixed an issue where the Radar could not refresh itself after parameter changing #122

This commit is contained in:
monitor1394
2021-02-18 09:24:01 +08:00
parent fbb33426ca
commit 5e57916d2f
6 changed files with 74 additions and 38 deletions

View File

@@ -340,6 +340,12 @@ namespace XCharts
return new Vector3(x, y);
}
public void AddIndicator(Radar.Indicator indicator)
{
indicatorList.Add(indicator);
SetAllDirty();
}
public Radar.Indicator AddIndicator(string name, float min, float max)
{
var indicator = new Radar.Indicator();