void ClickItem(Page_3_1_ItemData data) { Page4_3_1 ui = UIMgr.ShowUI <Page4_3_1>("Page_4_3_1", this.transform.parent.gameObject); Page_4_3_ItemData itemData = new Page_4_3_ItemData(); itemData.title = data.title; itemData.content = data.content; itemData.imgs = data.imgs; ui.InitData(itemData); }
void ClickItem(Page_4_3_ItemData data) { Page4_3_1 ui = UIMgr.ShowUI <Page4_3_1>("Page_4_3_1", this.transform.parent.gameObject); ui.InitData(data); }