public override void InitPanelContent(Leon_ItemBeanBase itemBeanBase) { base.InitPanelContent(itemBeanBase); Leon_ItemBean itemBean = itemBeanBase as Leon_ItemBean; this.transform.Find("ContentPanel/Text") .GetComponent <Text>().text = itemBean.Name /* + itemBean.Age*/; }
/// <summary> /// 填充Item数据 /// </summary> public virtual void InitPanelContent(Leon_ItemBeanBase itemBeanBase) { }