void Awake() { base.Init(); Instance = this; m_iconFg = GetUIChild("HelpTipIconFG").GetComponent<UISprite>(); m_iconBg = GetUIChild("HelpTipIconBG").GetComponent<UISprite>(); m_btn = GetUIChild("HelpTipBtn").gameObject.AddComponent<MogoUIListener>(); m_btnLbl = GetUIChild("HelpTipBtnText").gameObject.GetComponent<UILabel>(); m_tipLbl = GetUIChild("HelpTipLbl").GetComponent<UILabel>(); m_goFlashObj = GetUIChild("HelpTipBtnFlashObj").gameObject; m_tipQueueList = new List<Queue<TipViewData>>(); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); m_tipQueueList.Add(new Queue<TipViewData>()); if (NormalMainUIViewManager.Instance != null) NormalMainUIViewManager.Instance.ShowHelpTip(false); //gameObject.SetActive(false); }
void Awake() { base.Init(); Instance = this; m_iconFg = GetUIChild("HelpTipIconFG").GetComponent <UISprite>(); m_iconBg = GetUIChild("HelpTipIconBG").GetComponent <UISprite>(); m_btn = GetUIChild("HelpTipBtn").gameObject.AddComponent <MogoUIListener>(); m_btnLbl = GetUIChild("HelpTipBtnText").gameObject.GetComponent <UILabel>(); m_tipLbl = GetUIChild("HelpTipLbl").GetComponent <UILabel>(); m_goFlashObj = GetUIChild("HelpTipBtnFlashObj").gameObject; m_tipQueueList = new List <Queue <TipViewData> >(); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); m_tipQueueList.Add(new Queue <TipViewData>()); if (NormalMainUIViewManager.Instance != null) { NormalMainUIViewManager.Instance.ShowHelpTip(false); } //gameObject.SetActive(false); }