public void ShowPanel(ConfirmPanelObj obj) { if (obj != null) { ConfirmObjList.Add(obj); panelScript.TitleLabel.text = obj.lCfg.name + " 投注列表"; } else { panelScript.TitleLabel.text = "投注列表"; } panel.SetActive(true); panelScript.CreateItems(ConfirmObjList); UpdateBotInfo(); }