mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 07:20:08 +00:00
修复Legend初始化异常的问题
This commit is contained in:
@@ -172,13 +172,13 @@ namespace XCharts
|
||||
protected override void OnEnable()
|
||||
{
|
||||
base.OnEnable();
|
||||
Awake();
|
||||
ChartHelper.ActiveAllObject(transform, true);
|
||||
}
|
||||
|
||||
protected override void OnDisable()
|
||||
{
|
||||
base.OnDisable();
|
||||
ChartHelper.HideAllObject(transform);
|
||||
ChartHelper.ActiveAllObject(transform, false);
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
|
||||
Reference in New Issue
Block a user