mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 22:40:10 +00:00
重构Component相关代码,调整API接口
This commit is contained in:
@@ -19,7 +19,7 @@ namespace XCharts.Example
|
||||
{
|
||||
chart = gameObject.AddComponent<BaseChart>();
|
||||
}
|
||||
chart.GetOrAddChartComponent<PolarCoord>();
|
||||
chart.EnsureChartComponent<PolarCoord>();
|
||||
}
|
||||
|
||||
void Update()
|
||||
|
||||
Reference in New Issue
Block a user