public void SetData(ConsumptionGuideWndView view, int nType, string strName) { m_wndView = view; m_nGuideType = nType; GuideName.text = strName; SelectBtn.onSelectedChanged.AddListener(OnSelectBtnClick); this.gameObject.SetActive(true); }
public void SetData(ConsumptionGuideWndView view, string strGuideDesc, DataCenter.TaskGuideManager.Func_Guide_Handler callBack) { m_wndView = view; m_callback = callBack; GuideDesc.text = strGuideDesc; GotoBtnDesc.text = ULocalizationService.Instance.Get("UIView", "Common", "GotoBtnDesc"); GotoBtn.onClick.AddListener(OnGotoBtnClick); this.gameObject.SetActive(true); }