mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 22:40:10 +00:00
Fixed display exception of hidden gameObjects when enabling and disabling a chart #125
This commit is contained in:
@@ -265,18 +265,6 @@ namespace XCharts
|
||||
foreach (var drawSerie in m_DrawSeries) drawSerie.CheckComponent();
|
||||
}
|
||||
|
||||
protected override void OnEnable()
|
||||
{
|
||||
base.OnEnable();
|
||||
ChartHelper.ActiveAllObject(transform, true);
|
||||
}
|
||||
|
||||
protected override void OnDisable()
|
||||
{
|
||||
base.OnDisable();
|
||||
ChartHelper.ActiveAllObject(transform, false);
|
||||
}
|
||||
|
||||
protected override void SetAllComponentDirty()
|
||||
{
|
||||
base.SetAllComponentDirty();
|
||||
|
||||
Reference in New Issue
Block a user