예제 #1
0
 // Token: 0x0600210F RID: 8463 RVA: 0x003ED74C File Offset: 0x003EB94C
 public void Refresh_FontTexture()
 {
     if (this.text_Title != null && this.text_Title.enabled)
     {
         this.text_Title.enabled = false;
         this.text_Title.enabled = true;
     }
     if (this.text_Info != null && this.text_Info.enabled)
     {
         this.text_Info.enabled = false;
         this.text_Info.enabled = true;
     }
     for (int i = 0; i < 5; i++)
     {
         if (this.text_Str[i] != null && this.text_Str[i].enabled)
         {
             this.text_Str[i].enabled = false;
             this.text_Str[i].enabled = true;
         }
     }
     for (int j = 0; j < 2; j++)
     {
         if (this.btn_Itme[j] != null && this.btn_Itme[j].enabled)
         {
             this.btn_Itme[j].Refresh_FontTexture();
         }
     }
     if (this.btn_Item_L != null && this.btn_Item_L.enabled)
     {
         LordEquipData.ResetLordEquipFont(this.btn_Item_L);
     }
 }
예제 #2
0
 // Token: 0x06001F4E RID: 8014 RVA: 0x003BDC4C File Offset: 0x003BBE4C
 private void Refresh_FontTexture()
 {
     if (!this.bFirstInit && this.m_PanelObject != null)
     {
         for (int i = 0; i < this.m_PanelObject.Length; i++)
         {
             if (this.m_PanelObject[i].m_NumText != null && this.m_PanelObject[i].m_NumText.enabled)
             {
                 this.m_PanelObject[i].m_NumText.enabled = false;
                 this.m_PanelObject[i].m_NumText.enabled = true;
             }
             for (int j = 0; j < 3; j++)
             {
                 if (this.m_PanelObject[i].m_ItemNumText != null && this.m_PanelObject[i].m_ItemNumText[j] != null && this.m_PanelObject[i].m_ItemNumText[j].enabled)
                 {
                     this.m_PanelObject[i].m_ItemNumText[j].enabled = false;
                     this.m_PanelObject[i].m_ItemNumText[j].enabled = true;
                 }
                 if (this.m_PanelObject[i].m_ItemHIBtn[j] != null)
                 {
                     this.m_PanelObject[i].m_ItemHIBtn[j].Refresh_FontTexture();
                 }
                 if (this.m_PanelObject[i].m_ItemLEBtn[j] != null)
                 {
                     LordEquipData.ResetLordEquipFont(this.m_PanelObject[i].m_ItemLEBtn[j]);
                 }
             }
         }
     }
     if (this.m_TimeText != null && this.m_TimeText.enabled)
     {
         this.m_TimeText.enabled = false;
         this.m_TimeText.enabled = true;
     }
     if (this.m_OverText != null && this.m_OverText.enabled)
     {
         this.m_OverText.enabled = false;
         this.m_OverText.enabled = true;
     }
     if (this.m_TitleText1 != null && this.m_TitleText1.enabled)
     {
         this.m_TitleText1.enabled = false;
         this.m_TitleText1.enabled = true;
     }
     if (this.m_TitleText2 != null && this.m_TitleText2.enabled)
     {
         this.m_TitleText2.enabled = false;
         this.m_TitleText2.enabled = true;
     }
 }