mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 18:00:26 +00:00
fix destroying a gameobject inside a prefab
This commit is contained in:
committed by
monitor1394
parent
54ee3d43f5
commit
16c8d26e2a
@@ -96,7 +96,7 @@ namespace XCharts
|
||||
var btnPanel = transform.Find("chart_list");
|
||||
m_BtnClone = transform.Find("btn_clone").gameObject;
|
||||
m_BtnClone.SetActive(false);
|
||||
ChartHelper.DestoryAllChilds(btnPanel);
|
||||
//ChartHelper.DestroyAllChildren(btnPanel);
|
||||
foreach (var module in m_ChartModule)
|
||||
{
|
||||
var btnName = "btn_" + module.name;
|
||||
|
||||
Reference in New Issue
Block a user