public HeroInfoHud(GameObject root)
 {
     this._root       = root;
     this._pickedHero = null;
     this._headImg    = Utility.GetComponetInChild <Image>(root, "HeadIcon");
     this._reviveTxt  = Utility.GetComponetInChild <Text>(root, "HeadRevive");
     this._levelTxt   = Utility.GetComponetInChild <Text>(root, "HeadLevel");
     this._hpTxt      = Utility.GetComponetInChild <Text>(root, "HpTxt");
     this._adTxt      = Utility.GetComponetInChild <Text>(root, "AdTxt");
     this._apTxt      = Utility.GetComponetInChild <Text>(root, "ApTxt");
     this._phyDefTxt  = Utility.GetComponetInChild <Text>(root, "PhyDefTxt");
     this._mgcDefTxt  = Utility.GetComponetInChild <Text>(root, "MgcDefTxt");
     this._hpImg      = Utility.GetComponetInChild <Image>(root, "HpImg");
     this._epImg      = Utility.GetComponetInChild <Image>(root, "EpImg");
     this._killTxt    = Utility.GetComponetInChild <Text>(root, "StatInfo/Kill");
     this._deadTxt    = Utility.GetComponetInChild <Text>(root, "StatInfo/Dead");
     this._assistTxt  = Utility.GetComponetInChild <Text>(root, "StatInfo/Assist");
     this._moneyTxt   = Utility.GetComponetInChild <Text>(root, "Money");
     this._equipIcons = new Image[6];
     for (int i = 0; i < 6; i++)
     {
         this._equipIcons[i] = Utility.GetComponetInChild <Image>(root, "EquipInfo/Grid_" + i);
     }
     this._showBuffDesc = new CBattleShowBuffDesc();
     this._showBuffDesc.Init(Utility.FindChild(root, "BuffInfo"));
     this._skillInfoHud       = new SkillInfoHud(Utility.FindChild(root, "SkillInfo"));
     this._horizonControlNode = Utility.FindChild(root, "WatchViewType");
 }
 public void Clear()
 {
     if (this._showBuffDesc != null)
     {
         this._showBuffDesc.UnInit();
         this._showBuffDesc = null;
     }
     this._skillInfoHud = null;
 }