// Token: 0x06001C1A RID: 7194 RVA: 0x0031B7C4 File Offset: 0x003199C4 public _Note(Transform transform, Font font, UILoadImageHander hander) { this.gameobject = transform.gameObject; this.rectTransform = (transform as RectTransform); transform.GetChild(0).GetComponent <CustomImage>().hander = hander; this.NoteText = transform.GetChild(1).GetComponent <UIText>(); this.NoteText.font = font; this.NoteText.text = DataManager.Instance.mStringTable.GetStringByID(10135u); }
// Token: 0x06001C0A RID: 7178 RVA: 0x00319C28 File Offset: 0x00317E28 public PetSkillHint(RectTransform transform) { GUIManager instance = GUIManager.Instance; this.rectTrans = transform; Font ttffont = instance.GetTTFFont(); UILoadImageHander itemInfo = instance.m_ItemInfo; this.StateObj = this.rectTrans.GetChild(0).gameObject; this.StateText = this.rectTrans.GetChild(0).GetChild(0).GetComponent <UIText>(); this.StateText.font = ttffont; this.StateContText = this.rectTrans.GetChild(0).GetChild(1).GetComponent <UIText>(); this.StateContText.font = ttffont; this.OthersObj = this.rectTrans.GetChild(1).gameObject; this.SkillImg = this.rectTrans.GetChild(1).GetChild(0).GetComponent <Image>(); CustomImage component = this.rectTrans.GetChild(1).GetChild(0).GetChild(0).GetComponent <CustomImage>(); component.hander = itemInfo; this.NameText = this.rectTrans.GetChild(1).GetChild(1).GetComponent <UIText>(); this.NameText.font = ttffont; this.KindText = this.rectTrans.GetChild(1).GetChild(2).GetComponent <UIText>(); this.KindText.font = ttffont; component = this.rectTrans.GetChild(1).GetChild(3).GetChild(0).GetComponent <CustomImage>(); component.hander = itemInfo; this.CrystalText = this.rectTrans.GetChild(1).GetChild(3).GetChild(1).GetComponent <UIText>(); this.CrystalText.font = ttffont; this.CrystalText.text = DataManager.Instance.mStringTable.GetStringByID(10081u); this.CrystalObj = this.rectTrans.GetChild(1).GetChild(3).gameObject; this.Contents = new PetSkillHint._Content[2]; this.Contents[0] = new PetSkillHint._Content(this.rectTrans.GetChild(1).GetChild(4), ttffont); this.Contents[1] = new PetSkillHint._Content(this.rectTrans.GetChild(1).GetChild(7), ttffont); this.rectTrans.GetChild(1).GetChild(5).GetComponent <CustomImage>().hander = itemInfo; this.LineRect = this.rectTrans.GetChild(1).GetChild(5).GetComponent <RectTransform>(); this.LineObj = this.LineRect.gameObject; this.rectTrans.GetChild(1).GetChild(6).GetComponent <CustomImage>().hander = itemInfo; this.MaxBackRect = this.rectTrans.GetChild(1).GetChild(6).GetComponent <RectTransform>(); this.BackSprite[0] = instance.LoadFrameSprite("UI_main_hero_box_01"); this.BackSprite[1] = instance.LoadFrameSprite("UI_main_hero_box_01_b"); this.BackSprite[2] = instance.LoadFrameSprite("UI_main_hero_box_01_c"); this.BackSprite[3] = instance.LoadFrameSprite("UI_main_box_012"); this.HintFrameSprite = this.BackSprite[0]; this.HintFrameMat = instance.GetFrameMaterial(); this.CanvasRect = instance.m_UICanvas.GetComponent <RectTransform>(); this.HintWidth = this.rectTrans.sizeDelta.x; this.Note = new PetSkillHint._Note(this.rectTrans.GetChild(1).GetChild(8), ttffont, itemInfo); }