Esempio n. 1
0
        protected override void OnInit()
        {
#if !NOFRIEND
            this.m_btnFriendMail = Make <ToggleWithArrowTween>("Panel_down:leftBtn:btn_friend");
#endif
            this.m_btnSystemMail       = Make <ToggleWithArrowTween>("Panel_down:leftBtn:btn_system");
            this.m_gameScrollView      = Make <GameScrollView>("Panel_down:Panel");
            this.m_mailItemContainer   = Make <GameUIContainer>("Panel_down:Panel:Viewport:Content");
            this.m_mailDetailComponent = Make <MailDetailComponent>("Panel_MailDetail");
            this.m_mailSystem          = GlobalInfo.MY_PLAYER_INFO.PlayerMailSystem;
            this.m_lbNomail            = Make <GameLabel>("Panel_down:Panel:Text_noMail");
            this.SetCloseBtnID("Button_close");
        }
Esempio n. 2
0
 public void InitPlayerMailSystem()
 {
     this.m_playerMailSystem = new MailSystem(this);
     this.m_playerMailSystem.SyncPlayerMails();
 }