示例#1
0
 void ContentNoticeEvnet(GameObject go)
 {
     WndManager.Instance.Push(m_NoticeTrans);
     m_NoticeObj.SetActive(true);
     if (go == m_BaseTransform.GetChild(5).gameObject)
     {
         //打开公告
         Announcement.GetAnnouncement();
         m_NoticeTrans.GetChild(1).gameObject.SetActive(true);
         m_NoticeTrans.GetChild(2).gameObject.SetActive(false);
         m_NoticeTrans.GetChild(3).gameObject.SetActive(false);
         m_NoticeTrans.GetChild(5).GetChild(0).gameObject.SetActive(true);
     }
     else
     {
         //打开联系客服
         m_NoticeTrans.GetChild(2).gameObject.SetActive(false);
         m_NoticeTrans.GetChild(3).gameObject.SetActive(true);
         m_NoticeTrans.GetChild(5).GetChild(0).gameObject.SetActive(false);
     }
 }