protected override void OnInit()
 {
     this.m_btnItem        = Make <GameButton>("Button_3");
     this.m_imgItem        = Make <GameImage>("Button_3");
     this.m_lbRemain       = Make <GameLabel>("Button_3:Image:Text");
     this.m_effect         = Make <GameUIEffect>("Button_3:UI_xunzhao");
     this.m_fillImage      = Make <GameFilledImage>("Button_3:FillImage");
     this.m_propUseEffect  = this.m_imgItem.Make <GameUIEffect>("UI_daoju_tishi");
     this.m_arrowImg       = Make <GameImage>("Arrow");
     this.m_tishi_02Effect = this.m_imgItem.Make <GameUIEffect>("UI_daoju_tishi02");
     this.m_LockImg        = Make <GameImage>("Lock");
 }
        protected override void OnInit()
        {
            base.OnInit();

            this.m_playerInfoComponent = Make <PlayerInfoUIComponent>("Panel_top:person");
            this.m_health_lab          = Make <GameLabelExtend>("Panel_top:Image_energy:Text_number");
            this.m_totalVit_lab        = this.m_health_lab.Make <GameLabel>("totalNumber");
            this.m_addHealth_btn       = Make <GameButton>("Panel_top:Image_energy:Button_add");

            this.m_coinImg     = Make <GameImage>("Panel_top:Image_coin");
            this.m_gold_lab    = Make <GameLabelExtend>("Panel_top:Image_coin:Text_number");
            this.m_btnGold_btn = Make <GameButton>("Panel_top:Image_coin:Button_add");

            this.m_cashImg       = Make <GameImage>("Panel_top:Image_cash");
            this.m_dollar_lab    = Make <GameLabelExtend>("Panel_top:Image_cash:Text_number");
            this.m_btnDollar_btn = Make <GameButton>("Panel_top:Image_cash:Button_add");
            this.m_dollar_effect = Make <GameUIEffect>("Panel_top:Image_cash:Image_icon:UI_chaopiao_jiemian");
            this.m_dollar_effect.EffectPrefabName = "UI_chaopiao_jiemian.prefab";
            this.m_dollar_effect.Visible          = true;


            this.m_vitImg                     = Make <GameImage>("Panel_top:Image_energy");
            this.m_CountDownVit_Root          = Make <GameImage>("Panel_top:Image_energy:Background");
            this.m_ProgressVit                = this.m_CountDownVit_Root.Make <GameFilledImage>("Fill");
            this.m_CountDownVit_Lab           = this.m_CountDownVit_Root.Make <GameLabel>("countDown");
            this.m_vitFreeImg                 = this.m_vitImg.Make <GameImage>("Image_free");
            this.m_VitEffect                  = Make <GameUIEffect>("Panel_top:Image_energy:Image_icon:UI_tili");
            this.m_VitEffect.EffectPrefabName = "UI_tili.prefab";
            m_VitEffect.Visible               = false;

            this.m_VitBG        = Make <GameImage>("Panel_top:Image_energy");
            this.m_vit_progress = Make <GameProgressBar>("Panel_top:Image_energy:Slider");

            this.m_tiliEffect = Make <GameUIEffect>("Panel_top:Image_energy:Image_icon:UI_tili");
            this.m_tiliEffect.EffectPrefabName = "UI_tili.prefab";
            this.m_jinbiEffect = Make <GameUIEffect>("Panel_top:Image_coin:Image_icon:UI_jinbi");
            this.m_jinbiEffect.EffectPrefabName = "UI_jinbi.prefab";

            this.m_panelTop       = Make <GameUIComponent>("Panel_top");
            this.m_paneTopTweener = m_panelTop.GetComponent <TweenPosition>();


            NeedUpdateByFrame = true;
        }